- 20 May, 2022 2 commits
-
-
del-zhenwu authored
* skip test_rotated_feature_align.py for parrots Signed-off-by:
del-zhenwu <dele.zhenwu@gmail.com> * fix lint Co-authored-by:
zhouzaida <zhouzaida@163.com>
-
JarvisKevin authored
* Fix the bug met in using nasfpn Fix the bug met in using nasfpn which is mentioned at https://github.com/open-mmlab/mmdetection/issues/5987 . Avoid the strong restrictions of _resize function in BaseMergeCell: 1. When Downsampling the feature map, the feature map's shape must be divisible by the target size. We pad zero around feature map before max_pool2d opt to make it always divisible. (line 102 ~ 107) 2. Considering the different downsampling scale of H and W, shape[-2] and shape[-1] are involed in the definition of kernel_size. (line 110) * Update merge_cells.py check flake8 & isort * Update merge_cells.py * Update merge_cells.py yapf * Update mmcv/ops/merge_cells.py X_pad rename to padding_x Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update merge_cells.py format the code style after renameing the X_pad to padding_x * Update test_merge_cells.py Mainly test the downsampling resize in BaseMergeCell. The smaller target size is set to (14, 7), the classical feature map's size in the last few stages of the backbone, which will product different downsampling scales in different dims. * Update test_merge_cells.py add "# Copyright (c) OpenMMLab. All rights reserved." * Update merge_cells.py format the variable name * Update test_merge_cells.py Testing divisible and indivisible situations simultaneously * Update mmcv/ops/merge_cells.py fix the bug when h is indivisible and w is divisible, the pad_w will be padded unreasonable. Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/ops/merge_cells.py fix the bug when w is indivisible and h is divisible, the pad_h will be padded unreasonable. Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix undefined error * Update merge_cells.py make pad_h, pad_w more readable * Update test_merge_cells.py use @pytest.mark.parametrize instead of 'for' methor * Update merge_cells.py * Update test_merge_cells.py isort * Update merge_cells.py isort Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 18 May, 2022 1 commit
-
-
Zaida Zhou authored
* add pyupgrade * add options for pyupgrade * minor refinement
-
- 17 May, 2022 1 commit
-
-
Zaida Zhou authored
* [Docs] Fix failed links in docs/zh_cn/faq.md * fix links
-
- 16 May, 2022 1 commit
-
-
Zaida Zhou authored
* Use mdformat pre-commit hook * allows consecutive numbering * improve .mdformat.toml * test mdformat * format markdown * minor fix * fix codespecll * fix circleci * add linkify-it-py dependency for cicleci * add comments * replace flake8 url * add mdformat-myst dependency * remove mdformat-myst dependency * update contributing.md
-
- 14 May, 2022 1 commit
-
-
q.yao authored
* add CUDA_ARCH check * add check in cuh
-
- 13 May, 2022 1 commit
-
-
Zaida Zhou authored
-
- 12 May, 2022 1 commit
-
-
SuperDong authored
* dev_1st_mmcv_visual_image_py * dev_3rd_mmcv_visual_image_py * dev_4th_mmcv_visual_image_py * dev_5th_mmcv_visual_image_py * dev_6th_mmcv_visual_image_py * dev_7th_mmcv_visual_image_py * dev_8th_mmcv_visual_image_py * dev_9th_mmcv_visual_image_py * minor fix * fix isort Co-authored-by:Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 11 May, 2022 1 commit
-
-
Song Lin authored
* Add type hints * Add type hints * Fix int float about scalar * Add type hints for mmcv/tensorrt * Update mmcv/tensorrt/tensorrt_utils.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/arraymisc/quantization.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Ignore type hint for dtype Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 10 May, 2022 4 commits
-
-
Song Lin authored
* Add type hints * Replace mmcv is_str by isinstance str * Add type hints in optflow.py * Update mmcv/visualization/optflow.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/visualization/color.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Fix tuple hints Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Jiazhen Wang authored
* [Impl] impl adjust hue * Update docstring * Fix docstring * add copyright Co-authored-by:Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
jmercat authored
* config dump fix dump should not depend on how config was loaded only where it is dumped changed checks for type to the given filename instead of the source filename * defined test_fromdict and fixed dump function it might be more convoluted than it needs to be but the formatting depends on the extension of the argument or the extension of the self.filename * config dump defaults to returning pretty_text, test_fromdict renamed to test_dump_from_dict * some reformatting in docstrings * refine unittest * fix unit test as comment * Refine docstring * minor refinement * import mmcv * fix lint Co-authored-by:
HAOCHENYE <21724054@zju.edu.cn> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Alex Yang authored
* [fix]:fix type hint in file_client and mmcv * [fix]:fix type hint in tests files * [fix]:fix type hint in tests files * [fix]:fix pre-commit.yaml to igore test for mypy * [fix]:fix pre-commit.yaml to igore test for mypy * [fix]:fix precommit.yml * [fix]:fix precommit.yml * Update __init__.py delete unused type-ignore comment
-
- 09 May, 2022 3 commits
-
-
Zaida Zhou authored
-
Alex Yang authored
-
pc authored
-
- 08 May, 2022 2 commits
-
-
Hongbin Sun authored
* fix bug of can't pickle env objs * use utf-8 to support Chinese * use __del__ instead close * move try import to init * remove getitem * use client instead
-
Johannes L authored
* Add support for latest Pillow resampling filter naming scheme * Comments added * Shortened comments, lint fixes * Added specific Pillow version
-
- 07 May, 2022 1 commit
-
-
Zaida Zhou authored
-
- 05 May, 2022 2 commits
-
-
Boyuan Deng authored
* [Enhancement] Initialize 'mpi' launcher from OpenMPI's environmental variables * raise exception when no MASTER_ADDR Co-authored-by:jzwang <841713301@qq.com>
-
Mashiro authored
* add learning rate visualization * support momentum visualization * fix second axis font size error * fix argparse description Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix lint * Accelerate visualization * Support custom batchsize and log-interval Support custom batchsize and log-interval * remove unnecessary keys and rename some varaible Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 02 May, 2022 1 commit
-
-
Wencheng Wu authored
* [Enhance] Support register function. * fix unittest error * add docs and unittest of register function * modify the docs * fix version to 1.5.1 * Update docs/zh_cn/understand_mmcv/registry.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update docs/en/understand_mmcv/registry.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * refine the docs * modify module_class to module Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 30 Apr, 2022 1 commit
-
-
pc authored
-
- 29 Apr, 2022 3 commits
-
-
Zaida Zhou authored
-
Zaida Zhou authored
-
WilliamKyle authored
* add rotated_feature_align cpu implementation * add rotated_feature_align onnxruntime implementation * Update code for advices from grimoire Remove useless comment from mmcv/ops/csrc/pytorch/cpu/rotated_feature_align.cpp Replace ambiguous function name atomicAdd in mmcv/ops/csrc/pytorch/cpu/rotated_feature_align.cpp Simplify unit test with parameter in tests/test_ops/test_rotated_feature_align.py Use fma in interpolate in mmcv/ops/csrc/onnxruntime/cpu/rotated_feature_align.cpp mmcv/ops/csrc/pytorch/cpu/rotated_feature_align.cpp * Inline the function to reduce the overhead of the function call Use fma in interpolate
-
- 28 Apr, 2022 1 commit
-
-
Hu Di authored
* add doc for mmcv installation * Update docs/en/get_started/build.md Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 27 Apr, 2022 2 commits
-
-
q.yao authored
-
Jiazhen Wang authored
* ensure type of filename is str * check filename for func: fromfile * add ut for fromfile
-
- 26 Apr, 2022 1 commit
-
-
q.yao authored
-
- 25 Apr, 2022 2 commits
- 24 Apr, 2022 1 commit
-
-
Artem authored
* added clearml logger support * review fixes * review fixes
-
- 21 Apr, 2022 1 commit
-
-
Alex Yang authored
-
- 18 Apr, 2022 5 commits
-
-
Zaida Zhou authored
-
Mashiro authored
* enhance get_torchvision_models * simplify logic * Dump ckpt in torchvision lower than 0.13.0 to a json file * add json * refactor load urls logic * fix unit test * change url key to lower letters * check torchvision version rather than check torch version in unittest * Fix CI and refine test logic of torchvision version * add comment * support compare pre-release version * support loaad modeel like torchvision * refine comment. * fix unit test and comment * fxi unit test bug * support get model by lower weights
-
Tan SU authored
* [Fix] get correct encoding in Windows for collect_env() * stdout.fileno()
-
Vince Jankovics authored
* None parsing fixed for config * Formatting * Lower case none fix
-
mattcasey02 authored
* Fixed version comparison to include prerelease versions Currently all tagged versions of torch 1.11.0 have version 1.11.0a0. Previously the comparison to 1.11.0 failed and self._sync_params() was still used, causing an error. This fix should include all versions of 1.11. * Same update Didn't realize that 1.11.0 was mentioned multiple times in the file. This fixes the other instances.
-
- 17 Apr, 2022 1 commit
-
-
Hu Di authored
* implement runner on IPU * adjust import * adjust import * add ignore for ipu on without ipu * remove compilation cache * remove ipu from mmcv/runner.__all__ * adjust IS_IPU and IS_MLU * adjust by isort * add ipuHardwareIsAvailable * remove engine_cache * code review 9
-