- 19 Jul, 2022 19 commits
-
-
liukuikun authored
-
Yining Li authored
* add prohibit_cache_randomness * rename as avoid_cache_randomness and ensure it is non-inheritable * fix lint * update docs
-
Yifei Yang authored
-
Yuan Liu authored
-
Yining Li authored
-
Ma Zerun authored
-
Yifei Yang authored
* fix typos and move args into cfg * update docstring * fix as comment * fix lint * update transforms as discussed before * linting * fix as comment * fix lint * fix lint and also update according to PackInput * remove precommit change * rename cacheable method Co-authored-by:liukuikun <641417025@qq.com>
-
liukuikun authored
* [Fix] fix some typo according to review * fix comment
-
Yining Li authored
* rename cacheable_method to cache_randomness * refactor transform wrappers and update docs * fix all_nonexist_keys * fix lint * rename transform wrappers
-
Yuan Liu authored
* [Feature]: Add cache to random func in data transform * [Fix]: Fix lint * [Fix]: Fix cache decorate problem * [Refactor]: Initialize Resize with config * [Refactor]: Move other resize config into Resize config * [Fix]: Scale can not be None in RandomResize * [Fix]: Change semantic seg to gt seg map * [Fix]: Delete unnecessary assert * [Fix]: Fix docstring * [Fix]: Add double quot to Resize in config * [Fix]: Fix the return type * [Fix]: Improve docstring * [Fix]: Specify the order of width and height for ratio range * [Fix]: Specify resize order Co-authored-by:Your <you@example.com>
-
Yifei Yang authored
* Fix MultiScaleFlipAug * fix as comment
-
Yifei Yang authored
* set invisiblity * fix as comment
-
Yining Li authored
* add @cacheable_methd in RandomChoice * RandomChoice add __iter__() and fix unittest
-
Yifei Yang authored
* enhance centercrop and adjust crop size to (w, h) * fix comments * update required keys and docstring
-
Yifei Yang authored
* update data transform part3 * update init * rename flip funcs * fix comments * update comments * fix lint * Update mmcv/transforms/processing.py * fix docs format * fix comments * add test pad_val and fix bugs in class Pad * merge updated pad * fix lint * Update tests/test_transforms/test_transforms_processing.py
-
liukuikun authored
* [Fix] expand pad_val'dim to be same with image * fix comment
-
Yuan Liu authored
* [Refactor]: New commit of Part2 of data transform * [Fix]: Fix lint * [Fix]: Change flip reisze to prefix * [Refactor]: Delete redundant code in ToTensor * [Fix]:optional * [Fix]: Change the discription of RandomFlip * [Refactor]: Change flip_with_flip_direction to flip_on_direction Co-authored-by:Your <you@example.com>
-
liukuikun authored
* [Feature] Add Part1 of data transform * api.rst transform->transforms * fix typo * fix typo * rename test_processing into test_transforms_processing for avoiding same name * fix mypy * fix comment * fix comment
-
Yining Li authored
* Support deepcopy for Config (#1658) * Support deepcopy for Config * Iterate the `__dict__` of Config directly. * Use __new__ to avoid unnecessary initialization. * Improve according to comments * [Feature] Add spconv ops from mmdet3d (#1581) * add ops (spconv) of mmdet3d * fix typo * refactor code * resolve comments in #1452 * fix compile error * fix bugs * fix bug * transform from 'types.h' to 'extension.h' * fix bug * transform from 'types.h' to 'extension.h' in parrots * add extension.h in pybind.cpp * add unittest * Recover code * (1) Remove prettyprint.h (2) Switch `T` to `scalar_t` (3) Remove useless lines (4) Refine example in docstring of sparse_modules.py * (1) rename from `cu.h` to `cuh` (2) remove useless files (3) move cpu files to `pytorch/cpu` * reorganize files * Add docstring for sparse_functional.py * use dispatcher * remove template * use dispatch in cuda ops * resolve Segmentation fault * remove useless files * fix lint * fix lint * fix lint * fix unittest in test_build_layers.py * add tensorview into include_dirs when compiling * recover all deleted files * fix lint and comments * recover setup.py * replace tv::GPU as tv::TorchGPU & support device guard * fix lint Co-authored-by:
hdc <hudingchang.vendor@sensetime.com> Co-authored-by:
grimoire <yaoqian@sensetime.com> * Imporve the docstring of imfrombytes and fix a deprecation-warning (#1731) * [Refactor] Refactor the interface for RoIAlignRotated (#1662) * fix interface for RoIAlignRotated * Add a unit test for RoIAlignRotated * Make a unit test for RoIAlignRotated concise * fix interface for RoIAlignRotated * Refactor ext_module.nms_rotated * Lint cpp files * add transforms * add invoking time check for cacheable methods * fix lint * add unittest * fix bug in non-strict input mapping * fix ci * fix ci * fix compatibility with python<3.9 * fix typing compatibility * fix import * fix typing * add alternative for nullcontext * fix import * fix import * add docstrings * add docstrings * fix callable check * resolve comments * fix lint * enrich unittest cases * fix lint * fix unittest Co-authored-by:
Ma Zerun <mzr1996@163.com> Co-authored-by:
Wenhao Wu <79644370+wHao-Wu@users.noreply.github.com> Co-authored-by:
hdc <hudingchang.vendor@sensetime.com> Co-authored-by:
grimoire <yaoqian@sensetime.com> Co-authored-by:
Jiazhen Wang <47851024+teamwong111@users.noreply.github.com> Co-authored-by:
Hakjin Lee <nijkah@gmail.com>
-
- 07 Jul, 2022 1 commit
-
-
Zaida Zhou authored
* [Feature] Add support for MPS * fix import error * update ut * fix error * trigger CI * use a unique basename for test file modules * avoid bc-breaking
-
- 30 Jun, 2022 2 commits
- 29 Jun, 2022 1 commit
-
-
zhouchenyang authored
* [Feature] Support RoiPool with cambricon MLU backend * [Docs] Update ops.md
-
- 15 Jun, 2022 1 commit
-
-
Philipp Allgeuer authored
* Add torch_meshgrid_ij wrapper due to PyTorch change * Update torch_meshgrid name/doc/version implementation * Make imports local * add ut * ignore ut when torch is not available Co-authored-by:zhouzaida <zhouzaida@163.com>
-
- 10 Jun, 2022 1 commit
-
-
Yanyi Liu authored
* Fix batched_nms for rotated box. Add type hint for nms.py * Add test * doc string * revert symbolic hint * fix max_coordinate * add comment * rename type * fix typo docstring
-
- 09 Jun, 2022 1 commit
-
-
Danila Rukhovich authored
* fix iou3d * rename variables in test * fix comments
-
- 08 Jun, 2022 3 commits
-
-
Yue Zhou authored
* update * fix lint * fix lint * Update mmcv/ops/chamfer_distance.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update chamfer_distance.py * Update test_chamfer_distance.py * fix * Update chamfer_distance_cuda_kernel.cuh * Update chamfer_distance_cuda_kernel.cuh * fix * Update mmcv/ops/chamfer_distance.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update chamfer_distance.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
zhouchenyang authored
* [Feature] Support Psamask with cambricon MLU backend * [Fix] refine the format according to lint check * Replace std:max/min with conditional operators * [Fix] Format head files
-
zhouchenyang authored
* [Feature] Support RoiAlignRotated with cambricon MLU backend * [Fix] Remove std lib in mlu files * [Fix] replace std::min/max with conditional operators
-
- 27 May, 2022 1 commit
-
-
Zaida Zhou authored
-
- 25 May, 2022 4 commits
-
-
Zaida Zhou authored
-
Wencheng Wu authored
* [Fix] Fix the problem that the instance cannot reuse when overwriting the file client. * Remove _overridden_backends and _overridden_prefixes, and pop the old instance when overwriting the file client. * add unittest * fix prefix error * modify clear_backend to overridden_backend * Delete redundant comments.
-
whcao authored
* fix is_module_wrapper * test is_module_wrapper * fix code style
-
Danila Rukhovich authored
* add iou3d * revert deprecated python function * fix lint * replace 3d iou/nms calls for bev iou/nms
-
- 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
-
- 10 May, 2022 2 commits
-
-
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>
-
- 09 May, 2022 1 commit
-
-
pc authored
-