- 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 3 commits
-
-
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
-
Junjun2016 authored
* add resize or rescale to multiple * add imresize_to_multiple function in mmcv.image * fix docstring * use to_2tuple
-
Jintao Lin authored
* empty tensor inference backward continity * update * add 3d
-
- 23 Jun, 2021 1 commit
-
-
Junjun2016 authored
* add to_ntuple * add unit test
-
- 16 Jun, 2021 1 commit
-
-
q.yao authored
* add modulated dcn, better dcn plugin * clangformat * update documentation
-
- 11 Jun, 2021 2 commits
-
-
Shilong Zhang authored
* minor changes * change to modulist * change to Sequential * replace dropout with attn_drop and proj_drop in MultiheadAttention * add operation_name for attn * add drop path and move all ffn args to ffncfgs * fix typo * fix a bug when use default value of ffn_cfgs * fix ffns * add deprecate warning * fix deprecate warning * change to pop kwargs * support register FFN of transformer * support batch first * fix batch first wapper * fix forward wapper * fix typo * fix lint * add unitest for transformer * fix unitest * fix equal * use allclose * fix comments * fix comments * change configdict to dict * move drop to a file * add comments for drop path * add noqa 501 * move bnc wapper to MultiheadAttention * move bnc wapper to MultiheadAttention * use dep warning * resolve comments * add unitest: * rename residual to identity * revert runner * msda residual to identity * rename inp_identity to identity * fix name * fix transformer * remove key in msda * remove assert for key Co-authored-by:
HIT-cwh <2892770585@qq.com> Co-authored-by:
bkhuang <congee524@gmail.com> Co-authored-by:
Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
-
Dmitry Sidnev authored
* Fix export to onnx for PointRend * Fix codestyle * Fix codestyle * Fix type in docstring * Minor fix * Fix export with custom ops * Fix codestyle * Add tests for bilinear_grid_sample function * Remove redundant operation and rename variables * Fix bug in bilinear_grid_sample and update test * Fix getting batch size * skip torch==1.3.1 * remove unused import * fix lint * support export with batch * fix dynamic clip * skip test for torch<1.5.0 * Add docstrings and comments * Minor fix * Recover clipping code * Fix clamping in pytorch 1.7.0 * Fix bilinear_grid_sampler * Minor fix Co-authored-by:maningsheng <maningsheng@sensetime.com>
-
- 08 Jun, 2021 1 commit
-
-
David de la Iglesia Castro authored
* Add dvclive logger hook * Move docstring to class * docstring updates
-
- 01 Jun, 2021 1 commit
-
-
Miao Zheng authored
* [Fix] Support names of base classes matching in init_cfg * revise bool to len
-
- 31 May, 2021 1 commit
-
-
SemyonBevzuk authored
* Add score_threshold and max_num to NMS * Fix codestyle * Fix codestyle * Fix inds in nms * Update nms docstring * Move score_threshold and max_num arguments * Fix args order in docstring * fix lint of c++ file * Remove torch.onnx.is_in_onnx_export() and add max_num to batched_nms for separate classes. * Rewrote max_num handling in NMSop.symbolic * Added processing max_output_boxes_per_class when exporting to TensorRT * Added score_threshold and max_num for NMS in test_onnx.py and test_tensorrt.py * Remove _is_value(max_num) * fix ci errors with torch==1.3.1 * Update test_batched_nms in test_nms.py * Added tests for preprocess_onnx * Moved 'test_tensorrt_preprocess.py' and 'preprocess', updated 'remove_tmp_file'. * Update mmcv/tensorrt/__init__.py * Fix segfault torch==1.3.1 (remove onnx.checker.check_model) * Returned 'onnx.checker.check_model' with torch version check * Changed torch version from 1.3.1 to 1.4.0 *...
-
- 25 May, 2021 3 commits
-
-
RunningLeon authored
* add instancenorm plugin * resolve comments * fix lint * fix typo
-
v-qjqs authored
* support cuda version `BorderAlign` module * fix symbolic * merge * fix cpp lint error * add unit test * add comments for code references * reformat doc * fix lint error * fix conflict
-
pc authored
-
- 24 May, 2021 1 commit
-
-
q.yao authored
* add cummax/cummin tensorrt plugin * fix isort * fix with clang-format * fix with clang-format again * add document
-
- 23 May, 2021 3 commits
-
-
Zaida Zhou authored
* [Feature] Add truncated normal weight init * [Feature] Add truncated normal weight init * [Feature] Add truncated normal weight init * update docstring * delete modelA.pth * modify according to comment * use kstest to check truncated normal * delete modelA.pth * fix test.txt
-
Guangchen Lin authored
* fix fp16 bug on DCNv2 * support fp16 on DCN/DCNv2 when pytorch >= '1.6.0' * add comment * Modified the comments * Unified the usages of '.to()' and '.type_as()'
-
fcakyon authored
* add neptune.ai logger hook * add docstring * move docstring * update docstr * update before_run
-