- 07 Jun, 2022 1 commit
-
-
pc authored
-
- 06 Jun, 2022 1 commit
-
-
ShawnHu authored
* Add type hints for mmcv/ops/ball_query.py, border_align.py and correlation.py * Add type hints for mmcv/ops/deform_conv.py, deform_roi_pool.py and deprecated_wrappers.py * Remove type hints for deform_conv.py and deform_roi_pool.py * Fix type hints for other files
-
- 02 Jun, 2022 1 commit
-
-
WINDSKY45 authored
* [Enhance] Add type hint in `focal_loss.py`. * Use torch.LongTensor as type of target. * Fixed the missing type hint. * Removed some unnecessary type hint. * Add missing type hint and fix the type hint of `target`. * Fix the format of typehint. * minor refinement * minor fix Co-authored-by:Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 01 Jun, 2022 1 commit
-
-
ShawnHu authored
* Add type hints in mmcv/ops/carafe.py * Add type hints in mmcv/ops/corner_pool.py * Add type hints in mmcv/ops/diff_iou_rotated.py * Add type hints for other methods for mmcv/ops/corner_pool.py * Add type hints for other methods in mmcv/ops/carafe.py * Add type hints for symbolic method
-
- 31 May, 2022 1 commit
-
-
gy77 authored
* add typehint in mmcv/ops/pixel_group.py * fix indent * fix indent * improve format Co-authored-by:Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 30 May, 2022 1 commit
-
-
ShawnHu authored
-
- 29 May, 2022 2 commits
- 28 May, 2022 4 commits
-
-
ShawnHu authored
* add typehints in ops-active-rotated-filter * resolve typehints in ops-active-rotated-filter
-
gy77 authored
* add typehint in mmcv/ops/points_sampler.py * Update mmcv/ops/points_sampler.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/ops/points_sampler.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
gy77 authored
* add type hint in mmcv/ops/points_in_boxes.py * fix lint
-
gy77 authored
-
- 27 May, 2022 4 commits
-
-
gy77 authored
* add type hints in iou3d.py * fix lint * Add a missing item in iou3d.py
-
zengxiang68 authored
* add type hints for mmcv/ops/... * add type hints for mmcv/ops/... * add type hints for mmcv/ops/...
-
gy77 authored
* add type hints in iou3d.py * fix lint
-
Range King authored
* Add type hints in bbox.py * Add type hints in box_iou_rotated.py * Update ball_query.py * Revert "Add type hints in bbox.py" This reverts commit 102566488e3aa9328b1c6e1159e2699d40f9f9f5. * Update bbox.py * Revert "Update bbox.py" This reverts commit d34b2c6ed54ba024b9674c948493001a8b4ff864. * Update bbox.py
-
- 25 May, 2022 1 commit
-
-
Danila Rukhovich authored
* add iou3d * revert deprecated python function * fix lint * replace 3d iou/nms calls for bev iou/nms
-
- 20 May, 2022 1 commit
-
-
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
-
- 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
-
- 09 May, 2022 1 commit
-
-
pc authored
-
- 30 Apr, 2022 1 commit
-
-
pc authored
-
- 29 Apr, 2022 1 commit
-
-
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
-
- 27 Apr, 2022 1 commit
-
-
q.yao authored
-
- 25 Apr, 2022 1 commit
-
-
q.yao authored
* add half support * add cpu implementation * fix bugs, load with inline asm * better vector load * add comments
-
- 16 Apr, 2022 1 commit
-
-
Jiazhen Wang authored
* [Feature] Add roiaware pool3d ops from mmdet3d (#1382) * add ops (roiaware pool3d) in mmdet3d * refactor code * fix typo Co-authored-by:
zhouzaida <zhouzaida@163.com> * [Feature] Add iou3d op from mmdet3d (#1356) * add ops (iou3d) in mmdet3d * add unit test * refactor code * refactor code * refactor code * refactor code * refactor code Co-authored-by:
zhouzaida <zhouzaida@163.com> * [Fix] Update test data for test_iou3d (#1427) * Update test data for test_iou3d * delete blank lines Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * [Feature] Add group points ops from mmdet3d (#1415) * add op (group points) and its related ops (ball query and knn) in mmdet3d * refactor code * fix typo * refactor code * fix typo * refactor code * make input contiguous Co-authored-by:
zhouzaida <zhouzaida@163.com> * add mmdet3d op (#1425) Co-authored-by:
zhouzaida <zhouzaida@163.com> * [Feature] Loading objects from different backends and dumping objects to different backends (#1330) * [Feature] Choose storage backend by the prefix of filepath * refactor FileClient and add unittest * support loading from different backends * polish docstring * fix unittet * rename attribute str_like_obj to is_str_like_obj * add infer_client method * add check_exist method * rename var client to file_client * polish docstring * add join_paths method * remove join_paths and add _format_path * enhance unittest * refactor unittest * singleton pattern * fix test_clientio.py * deprecate CephBackend * enhance docstring * refactor unittest for petrel * refactor unittest for disk backend * update io.md * add concat_paths method * improve docstring * improve docstring * add isdir and copyfile for file backend * delete copyfile and add get_local_path * remove isdir method of petrel * fix typo * add comment and polish docstring * polish docstring * rename _path_mapping to _map_path * polish docstring and fix typo * refactor get_local_path * add list_dir_or_file for FileClient * add list_dir_or_file for PetrelBackend * fix windows ci * Add return docstring * polish docstring * fix typo * fix typo * deprecate the conversion from Path to str * add docs for loading checkpoints with FileClient * refactor map_path * add _ensure_methods to ensure methods have been implemented * fix list_dir_or_file * rename _ensure_method_implemented to has_method * Add CI for pytorch 1.10 (#1431) * [Feature] Upload checkpoints and logs to ceph (#1375) * [Feature] Choose storage backend by the prefix of filepath * refactor FileClient and add unittest * support loading from different backends * polish docstring * fix unittet * rename attribute str_like_obj to is_str_like_obj * [Docs] Upload checkpoint to petrel oss * add infer_client method * Support uploading checkpoint to petrel oss * add check_exist method * refactor CheckpointHook * support uploading logs to ceph * rename var client to file_client * polish docstring * enhance load_from_ceph * refactor load_from_ceph * refactor TextLoggerHook * change the meaning of out_dir argument * fix test_checkpoint_hook.py * add join_paths method * remove join_paths and add _format_path * enhance unittest * refactor unittest * add a unittest for EvalHook when file backend is petrel * singleton pattern * fix test_clientio.py * deprecate CephBackend * add warning in load_from_ceph * fix type of out_suffix * enhance docstring * refactor unittest for petrel * refactor unittest for disk backend * update io.md * add concat_paths method * fix CI * mock check_exist * improve docstring * improve docstring * improve docstring * improve docstring * add isdir and copyfile for file backend * delete copyfile and add get_local_path * remove isdir method of petrel * fix typo * rename check_exists to exists * refactor code and polish docstring * fix windows ci * add comment and polish docstring * polish docstring * polish docstring * rename _path_mapping to _map_path * polish docstring and fix typo * refactor get_local_path * add list_dir_or_file for FileClient * add list_dir_or_file for PetrelBackend * fix windows ci * Add return docstring * polish docstring * fix typo * fix typo * fix typo * fix error when mocking PetrelBackend * deprecate the conversion from Path to str * add docs for loading checkpoints with FileClient * rename keep_log to keep_local * refactor map_path * add _ensure_methods to ensure methods have been implemented * fix list_dir_or_file * rename _ensure_method_implemented to has_method * refactor * polish information * format information * bump version to v1.3.16 (#1430) * [Fix]: Update test data of test_tin_shift (#1426) * Update test data of test_tin_shift * Delete tmp.engine * add pytest raises asserterror test * raise valueerror, update test log * add more comment * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix the wrong function reference bug in BaseTransformerLayer when batch_first is True (#1418) * [Docs] Add mmcv itself in the docs list (#1441) * Add mmcv itself in the docs list * modify link of docs * [Improve] improve checkpoint loading log (#1446) * [Feature] Support SigmoidFocalLoss with Cambricon MLU backend (#1346) * [Feature] Support SigmoidFocalLoss with Cambricon MLU backend * refactor MMCV_WITH_MLU macro define * refactor NFU_ALIGN_SIZE, PAD_DOWN and split_pipeline_num * delete extra fool proofing in cpp * [Feature] Support SigmoidFocalLossBackward with Cambricon MLU backend * fix macro definition in SigmoidFocalLoss * refactor mlu files into clang-format * refactor sigmoid focal loss test * refactor Sigmoid Focal Loss file structure. * fix python lint error * fix import torch_mlu error type * fix lint * refactor clang format style to google Co-authored-by:
zhouzaida <zhouzaida@163.com> * [Feature] Support RoiAlign With Cambricon MLU Backend (#1429) * [Feature] Support NMS with cambricon MLU backend (#1467) * [Feature] Support BBoxOverlaps with cambricon MLU backend (#1507) * [Refactor] Format C++ code * [Refactor] include common_mlu_helper in pytorch_mlu_helper and refactor build condition * [Improve] Improve the performance of roialign, nms and focalloss with MLU backend (#1572) * [Improve] Improve the performance of roialign with MLU backend * replace CHECK_MLU with CHECK_MLU_INPUT * [Improve] Improve the perf of nms and focallosssigmoid with MLU backend * [Improve] Improve the performance of roialign with MLU backend (#1741) * [Feature] Support tin_shift with cambricon MLU backend (#1696) * [Feature] Support tin_shift with cambricon MLU backend * [fix] Add the assertion of batch_size in tin_shift.py * [fix] fix the param check of tin_shift in cambricon code * [fix] Fix lint failure. * [fix] Fix source file lint failure. * Update mmcv/ops/tin_shift.py [Refactor] Modify the code in mmcv/ops/tin_shift.py. Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
budefei <budefei@cambricon.com> Co-authored-by:
budefei <budefei@cambricom.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * resolve conflicts and fix lint * fix mmcv.utils.__init__ * fix mmcv.utils.__init__ * Fix lints and change FLAG * fix setup and refine * remove a redundant line * remove an unnecessary 'f' * fix compilation error Co-authored-by:
dingchang <hudingchang.vendor@sensetime.com> Co-authored-by:
zhouzaida <zhouzaida@163.com> Co-authored-by:
q.yao <yaoqian@sensetime.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
pc <luopeichao@sensetime.com> Co-authored-by:
Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com> Co-authored-by:
q.yao <streetyao@live.com> Co-authored-by:
Tong Gao <gaotongxiao@gmail.com> Co-authored-by:
Yuxin Liu <liuyuxin@cambricon.com> Co-authored-by:
zihanchang11 <92860914+zihanchang11@users.noreply.github.com> Co-authored-by:
shlrao <shenglong.rao@gmail.com> Co-authored-by:
zhouchenyang <zcy19950525@gmail.com> Co-authored-by:
Mrxiaofei <36697723+Mrxiaofei@users.noreply.github.com> Co-authored-by:
budefei <budefei@cambricon.com> Co-authored-by:
budefei <budefei@cambricom.com>
-
- 15 Apr, 2022 2 commits
-
-
Danila Rukhovich authored
* diff_iou_rotated is working * add test; fix lint * fix lint for test * disable cpu build * refactor files structure * fix comments * remove extra .repeat() * add comment * fix j-1 bug; update doc * fix clang lint * update docstrings * fix comments * fix comments
-
q.yao authored
* add gather_keep_from_mask_parallize * remove unused cache * move syncthread * remove unused comment * add more comments, rename the kernel and variable
-
- 14 Apr, 2022 1 commit
-
-
Qiza-lyhm authored
* feat(MLU): Support PyTorch backend on MLU * MMCV support PyTorch backend on MLU * Add MLUDataParallel and MLUDistributedDataParallel * Add MLU operator support * [Fix]: Fix PR comments and add IS_MLU to get device available check * [Fix]: fix PR comments of dist_utils.py * [Doc] Rewrite annotations of functions. * [Docs] Rewrite annotation in distributed.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * [Docs] Fix lint Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 10 Apr, 2022 1 commit
-
-
q.yao authored
* optimize forward * fast backward * fix bugs of grad input2
-
- 28 Mar, 2022 1 commit
-
-
wulele authored
-
- 24 Mar, 2022 2 commits
- 22 Mar, 2022 1 commit
-
-
q.yao authored
* implement corner pool with python for torch<1.5 * fix for torch130
-
- 17 Mar, 2022 1 commit
-
-
Jiazhen Wang authored
* [Fix] remove warnings in compilation * [Fix] fix order of statements * [Fix] fix build error on windows * cannel buildextension wrapper
-
- 15 Mar, 2022 2 commits
-
-
Wenhao Wu authored
* add nondeterministic voxelization op * fix lint * fix lint * resolve comments * fix lint
-
Jiazhen Wang authored
-
- 07 Mar, 2022 2 commits