- 14 Oct, 2021 3 commits
-
-
Zaida Zhou authored
* fix MultiScaleDeformableAttention inference issue on cpu model * fix lint * add unintest * remove some code * Update tests/test_ops/test_ms_deformable_attn.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix device * remove device * add more device * refactor unittest Co-authored-by:
zhicheng huang <zhichenghzc@gmail.com> Co-authored-by:
zhangshilong <2392587229zsl@gmail.com> Co-authored-by:
Shilong Zhang <61961338+jshilong@users.noreply.github.com>
-
dingchang authored
* add ops (gather points) in mmdet3d * add ops (gather points) in mmdet3d * refactor code * refactor code * fix typo
-
dingchang authored
* add ops (knn) in mmdet3d * refactor code * refactor code * fix typo * fix typo * fix typo * refactor code * refactor code * spell typo * fix spell typo
-
- 13 Oct, 2021 3 commits
-
-
Shilong Zhang authored
* assert both dep and new args exist at same time * add unintest * Update tests/test_utils/test_misc.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update tests/test_utils/test_misc.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * polish warning * polish warning Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
dingchang authored
* add ops (furthest point sample) in mmdet3d * refactor code * refactor code * fix typo * fix typo * fix typo * refactor code * fix typo * define DIVUP in common_cuda_helper.hpp
-
Eugene Liu authored
* add onnx dcn * replace gemm with torch C++ api * small update * fix cpp clang format * pefer generic GEMM than torch ATen library * addressing comments * add ops path check
-
- 04 Oct, 2021 1 commit
-
-
Zaida Zhou authored
* Add code-spell hook to pre-commit * Add code-spell hook to pre-commit and fix typos * fix setup.cfg
-
- 25 Sep, 2021 1 commit
-
-
Miao Zheng authored
* [Fix] Revise unit test of correlation * rename * lint * lint * lint * lint
-
- 23 Sep, 2021 4 commits
-
-
Miao Zheng authored
* [Features] Load optical flow data from bytes * docstring * revise base on comments * compression test data * compression test data * docstring * minors
-
Miao Zheng authored
-
dingchang authored
-
Wenwei Zhang authored
* [Feature]: support empty tensor in MMSyncBN * refine code * resolve comments * clean unnecessary comments * fix inaccurate statistics when empty tensor * resolve comments and add docstrings * update unit tests * rephrase, ready for merge
-
- 09 Sep, 2021 1 commit
-
-
Leojc authored
* Reimplement cc_attention using pure pytorch * fix: avoid BC-Breaking * delete cc_attention related cpp and cuda files * delete cc_attention related lines in pybind.cpp * make out Tensor contiguous. * remove unneeded lines. * Update mmcv/ops/cc_attention.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update TestCrissCrossAttention * passing pre-commit * Update docstring of CrissCrossAttention * Update docstring of CrissCrossAttention * Update mmcv/ops/cc_attention.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * [docs]polish the docstring * [Docs] Polish the docstring Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 08 Sep, 2021 1 commit
-
-
Tong Gao authored
* [Feature] Add revert_sync_batchnorm * support mmsyncbn (to be tested) * Test passed * Update docstring, rename the test file * remove test_sync_bn * add comment * add mmcv.ops check * Add a comment * Add notes and relax test req Co-authored-by:gaotongxiao <gaotongxiao@gmail.con>
-
- 07 Sep, 2021 2 commits
-
-
young authored
* restrict the warning message * and an important keyword in warning description * a more elegant way of condition * link format code too long * fix the stupid spelling mistake * Use issubclass to restrict warning message. * maybe this version is more elegant. * conv + bias + norm warning pytest * 'created' a warning, hahaha * isort and yapf format revision * isort and yapf format revision * flake8 fail issue * I have to right this way in order to solve the conflicts between yapf and flake8, sigh... * fixed test bug * Add ruby windows installer source. * Simplified the code and remove ruby source from CONTRIBUTING.md * use _BatchNorm to simplify the code * bug fix and add instanceNorm case into warning * change the warning message to make it more clear * fix unit test
-
Ma Zerun authored
* Fix missing `state_dict._metadata` when saving & loading checkpoints. * Add unit tests. * Fix default value and variable names in unit tests.
-
- 29 Aug, 2021 1 commit
-
-
Eugene Liu authored
* DCN cpu version * add modulated dcn cpu version * move deform_conv_shape_check to deform conv utils * add inline to deform_conv_shape_check * add tests * run linter * add newline at file end * run pre-commit against modulated deform conv cpp * update saconv test * run clang-format * remove cuda device inline * refactor dcn cuda/cpu functions * remove DCN util * remove DCN util hpp from all included files * Addressing PR comment by refactoring modulated-DCN * fix lint in cpp files
-
- 24 Aug, 2021 1 commit
-
-
Wenwei Zhang authored
* add windows CI * clean versions * only allow pt1.7 on windows * fix windows install issue * add win cpu * fix win command * clean unnecessary command * resolve turbojpeg & tempfile on win * replace os.readlink with os.path.realpath * fix windows ci * close file before removing it * fix windows ci * fix symlink on windows * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * modify according to comment Co-authored-by:zhouzaida <zhouzaida@163.com>
-
- 23 Aug, 2021 3 commits
-
-
Paige Wang authored
* add modulated_deform_conv in onnxruntime support * Add docs descriptions * Add gpu test in test_onnx.py * code format * remove new usage and move if outside for loop * use memset when bias is nullptr
-
Ma Zerun authored
* Add gradient cumulative optimizer fixes #190 * Update optimizer.py * Update optimizer.py * fix loss scale improperly in last equivalent_iter * Add `GradientCumulativeOptimizerHook` in `__init__.py`. * Add docstring of `GradientCumulativeOptimizerHook`. * Add type check, BN warning and resume warning. And fix typo, lint the code. * Add unit test * Update docstring example. * Change GradientCumulativeOptimizerHook `__init__` arguments. * Add GradientCumulativeOptimzierHook unit tests with IterBasedRunner. * Add GradientCumulativeFp16OptimizerHook. * Add unit tests of GradientCumulativeFp16OptimizerHook * Use '!=' instead of '>' to determine resume Co-authored-by:Zhiyuan Chen <this@zyc.ai>
-
Yining Li authored
* Support deprecation checking in Config * add unittest for config deprecation * support reference link in deprecation info * add doc * Update config.md
-
- 11 Aug, 2021 2 commits
-
-
Zaida Zhou authored
* [Fix] Fix the bug that training log and evaluating log are mixed * [Fix] Fix the bug that training log and evaluating log are mixed * fix comment * fix import error * refactor * refactor * refactor * clear log_buffer before evaluation * fix error * add unittest
-
Shilong Zhang authored
* add logger for init * change init_info of oevrload init_weight * add judgement for params_init_info * add delete comments for params_init_info * add docstr and more comments * add docstr and more comments * resolve comments * dump to a file * add unitest * fix unitest * fix unitest * write to ori log * fix typo * resolve commnets * fix call initweights twice in topmost module * fix the potential bug of recursive import * fix unitest * fix potiential bugs * remove unneccesary change * add more unitest * fix add param in initweights * add more comments * raise error * add more detail assert error
-
- 08 Aug, 2021 1 commit
-
-
Jerry Jiarui XU authored
* [Docs] Add header for files * change to OpenMMLab * add headers for .cpp, .cu, .h, .cuh * replace Open-MMLab with OpenMMLab
-
- 23 Jul, 2021 2 commits
-
-
Shilong Zhang authored
* add logger for init * change init_info of oevrload init_weight * add judgement for params_init_info * add delete comments for params_init_info * add docstr and more comments * add docstr and more comments * resolve comments * dump to a file * add unitest * fix unitest * fix unitest * write to ori log * fix typo * resolve commnets
-
Haodong Duan authored
* improve digit_version & use it for version_checking * more testing for digit_version * setuptools >= 50 is needed * fix CI * add debuging log * >= to == * fix lint * remove * add failure case * replace * fix * consider TORCH_VERSION == 'parrots' * add unittest * digit_version do not deal with the case if 'parrots' in version name.
-
- 20 Jul, 2021 2 commits
-
-
Gu Wang authored
* add flat cosine lr updater * add test * add doc * update doc * reformat * update unittest * update test flat cos * remove momentum hook test * update test * change assert to ValueError * fix unittest * add by_epoch=True unittest * change to start_percent * change to start_percent in test
-
q.yao authored
* add torch.roll to onnx * remove skip test * add support to torch<170 * add dim=0 for torch==1.9.0 * update fixture function name, add comment in roll symbolic
-
- 14 Jul, 2021 1 commit
-
-
Ma Zerun authored
* Fix potential interger overflow in `imequalize`. * Modify imequalize unit test image size to generate potential integer overflow.
-
- 13 Jul, 2021 1 commit
-
-
Ma Zerun authored
* Add `is_tracing` to wrap `torch.jit.is_tracing` in different versions. * Remame `is_tracing` to `is_jit_tracing` * Ignore `is_jit_tracing` tests in CI.
-
- 09 Jul, 2021 2 commits
-
-
qjqfl authored
-
Y_Xuan authored
* porting mmcv for hip * add nvcc * fix format * fix format * fix bug for carafe * fix test_utils because rocm_torch not allow set torch.backends.cudnn.benchmark to false * add LOOSEVERSION * fix format * fix format of version * fix code format * test for yaml * fix bug for citest * fix bug for how to get torch._version_ at setup.py
-
- 03 Jul, 2021 1 commit
-
-
Zaida Zhou authored
* fix test.txt * fix unittest in pt1.9 * fix checkpoint filename error * add comment * fix unittest * fix onnxruntime version
-
- 29 Jun, 2021 2 commits
-
-
Haodong Duan authored
-
achaiah authored
* Missing check for dir in the 'else' clause Fixing issue when recursively scanning directories with filenames starting with '.' Without this fix, the `if not entry.name.startswith('.') and entry.is_file()` logic falls through to the `else` clause which in the current code base will error out as it encounters '.' files (e.g. .DS_Store) * Updated code per comments * fixing indentation * fix indenterror and add comment * remove .DS_Store and add .file Co-authored-by:zhouzaida <zhouzaida@163.com>
-
- 25 Jun, 2021 4 commits
-
-
Ma Zerun authored
* support print using hooks before running. * Support to print hook trigger stages. * Print stage-wise hook infos. And make `stages` as class attribute of `Hook` * Add util function `is_method_overriden` and use it in `Hook.get_trigger_stages`. * Add unit tests. * Move `is_method_overriden` to `mmcv/utils/misc.py` * Improve hook info text. * Add base_class argument type assertion, and fix some typos. * Remove `get_trigger_stages` to `get_triggered_stages` * Use f-string.
-
Tong Gao authored
* Support image reading while ignoring EXIF orientation info Add unit test for ignore_orientation flags in imread() * add documentation for imread * Add test cases
-
Ma Zerun authored
* Refine default hooks and custom hooks priority rank. * Add unit tests for custom hooks with string priority. * Use priority `ABOVE_NORMAL` and `BELOW_NORMAL` instead of `HIGHER` and `LOWER`. And add unit tests for custom hook with the same priority as default hooks.
-
lizz authored
* Support variables in base files for configs Signed-off-by:
lizz <lizz@sensetime.com> * Test json and yaml as well Signed-off-by:
lizz <lizz@sensetime.com> * Add test for recusive base Signed-off-by:
lizz <lizz@sensetime.com> * Test misleading values Signed-off-by:
lizz <lizz@sensetime.com> * Improve comments Signed-off-by:
lizz <lizz@sensetime.com> * Add doc Signed-off-by:
lizz <lizz@sensetime.com> * Improve doc Signed-off-by:
lizz <lizz@sensetime.com> * More tests Signed-off-by:
lizz <lizz@sensetime.com> * Harder test case Signed-off-by:
lizz <lizz@sensetime.com> * use BASE_KEY instead of base Signed-off-by:
lizz <lizz@sensetime.com>
-
- 24 Jun, 2021 1 commit
-
-
Yining Li authored
* EvalHook uses case-insensitive key indicator matching and configurable test functions * * fix docstring * * move test_fn import into __init__ * configurable greater/less keys * * update unittest * update DistEvalHook * fix comments and remove debug code * support single greater/less key
-