Yue Zhou
a4c82617ff
[Feature] Add box_iou_quadri & nms_quadri ( #2277 )
...
* update
* update
* fix link
* fix bug
* update nms_quadri
* fix lint
* Update test_nms_quadri.py
* Update box_iou_quadri.py
* fix bug
* Update test_nms_quadri.py
* Update box_iou_rotated_utils.hpp
* Update box_iou_quadri.py
* Update mmcv/ops/nms.py
2022-10-13 17:26:14 +08:00
Zaida Zhou
75ea2f8995
Upgrade the versions of pre-commit hooks ( #2328 )
2022-10-11 14:09:10 +08:00
Xin Li
07e8775f09
[Docs] Add reminder in docs for macOS M1 users ( #2268 )
...
* Add reminder in docs for macOS M1 users
2022-10-10 12:41:10 +08:00
Zaida Zhou
264e170c23
[Docs] Refactor the api structures of docs ( #2254 )
...
* [Docs] Refactor the api structures of docs
* refine api structures of docs
* Update zh_cn
* update branch
2022-09-25 21:51:36 +08:00
yxzhao
c57b8b184b
[Docs] Fix some mistakes in data_process.md ( #2283 )
...
* correction
* correction en docs
2022-09-25 15:00:43 +08:00
Zaida Zhou
c9b6c2df71
[Docs] Clear outdated docs ( #2238 )
...
* [Docs] Clear outdated docs
* fix typo
2022-08-30 19:01:34 +08:00
Zaida Zhou
57ba4811f1
Rename mmcv package name ( #2235 )
...
* Rename mmcv package name
* fix typo
* fix typo
* fix typo
2022-08-30 16:24:06 +08:00
liuduanhui
cdfbdc0bd1
[Feature] Support ThreeNN with cambricon MLU backend ( #2215 )
2022-08-28 17:54:20 +08:00
bdf
625e82ce62
[Feature] Add carafe op for MLU ( #2212 )
...
* [Feature] Support CARAFE with Cambricon MLU backend
* [Docs] Add comments for common funtions
* [Test] Add allclose test for carafe
* Remove print
Co-authored-by: zcyKTH <zcy19950525@gmail.com>
Co-authored-by: budefei <budefei@cambricon.com>
2022-08-28 17:54:20 +08:00
bdf
f5a19ef06f
[Feature] Support MaskedConv2d with cambricon MLU backend ( #2202 )
...
* [Feature] Support MaskedConv2d with cambricon MLU backend
* [Refactor] Refactor test masked_conv2d code
Co-authored-by: budefei <budefei@cambricon.com>
2022-08-28 17:54:20 +08:00
q.yao
2e5628b410
[Refactor]: Remove deployment for dev-2.x ( #2225 )
...
* remove deploy for 2.0
* update onnx ut
2022-08-26 20:11:05 +08:00
Zaida Zhou
5947178e85
Remove many functions in utils and migrate them to mmengine ( #2217 )
...
* Remove runner, parallel, engine and device
* fix format
* remove outdated docs
* migrate many functions to mmengine
* remove sync_bn.py
2022-08-23 10:12:41 +08:00
Zaida Zhou
9185eee858
Remove runner, parallel, engine and device ( #2216 )
...
* Remove runner, parallel, engine and device
* fix format
* remove outdated docs
2022-08-22 19:16:30 +08:00
Mashiro
19a024155a
[Refactor] Use MODELS registry in mmengine and delete basemodule ( #2172 )
...
* change MODELS to mmengine, delete basemodule
* fix unit test
* remove build from cfg
* add comment and rename TARGET_MODELS to registry
* refine cnn docs
* remove unnecessary check
* refine as comment
* refine build_xxx_conv error message
* fix lint
* fix import registry from mmcv
* remove unused file
2022-08-19 11:18:47 +08:00
Zaida Zhou
0fe1c64744
Remove fileio from mmcv and use mmengine.fileio instead ( #2179 )
2022-08-16 13:37:19 +08:00
Zaida Zhou
0b4285d959
Pick commits from master ( #2164 )
...
* [Docs] Add swith_language.md in docs (#2160 )
* [Fix] Fix onnx unit tests (#2155 )
* [Docs] Limit extension versions (#2144 )
* Support PrRoIPool operation
* Add MPS bbox overlap
* Add .pre-commit-config-zh-cn.yaml (#2135 )
Co-authored-by: xcnick <xcnick0412@gmail.com>
Co-authored-by: Jingwei Zhang <zjw18@mails.tsinghua.edu.cn>
Co-authored-by: q.yao <yaoqian@sensetime.com>
2022-08-03 14:11:53 +08:00
liukuikun
9e4b2ff58e
[Feature] Add Part1 of data transform ( #1736 )
...
* [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
2022-07-19 19:18:15 +08:00
Yining Li
d00b0cec74
[Feature] Add base transform interface ( #1538 )
...
* 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>
2022-07-19 19:18:15 +08:00
Reza
323abb9e5a
[Docs] Fix typos ( #2124 )
2022-07-17 18:41:17 +08:00
Happylkx
75ae200954
[Docs] Correct mistakes of examples ( #2120 )
2022-07-16 11:33:43 +08:00
zhouchenyang
2708fac6c5
[Feature] Support RoiPool with Cambricon MLU backend ( #2073 )
...
* [Feature] Support RoiPool with cambricon MLU backend
* [Docs] Update ops.md
2022-06-29 11:24:00 +08:00
Alex Yang
9110df94fc
[Docs] Reformat op docs ( #2052 )
...
* [Docs]:update ops.md
* fix missing ops
2022-06-15 10:57:29 +08:00
Zaida Zhou
11d8554cf9
[Docs] Fix mdformat version to support python3.6 ( #2014 )
...
* [Docs] Refine documentation
* fix mdformat version to support python3.6
* remove ruby dependency from CI
* fix invalid links
2022-06-09 17:47:26 +08:00
Yue Zhou
834d5978df
[Feature] Add ChamferDistance op in gpu ( #1933 )
...
* 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>
2022-06-08 18:12:57 +08:00
古月闻星
70944a261d
[Docs] Update copyright years in docs ( #2042 )
2022-06-06 23:20:49 +08:00
Danila Rukhovich
e9f48a4f8e
[Enhance] Replace BEV IoU with 3D IoU ( #1902 )
...
* add iou3d
* revert deprecated python function
* fix lint
* replace 3d iou/nms calls for bev iou/nms
2022-05-25 17:05:50 +08:00
Zaida Zhou
45fa3e44a2
Add pyupgrade pre-commit hook ( #1937 )
...
* add pyupgrade
* add options for pyupgrade
* minor refinement
2022-05-18 11:47:14 +08:00
Zaida Zhou
c561264d55
[Docs] Fix failed links in docs/zh_cn/faq.md ( #1964 )
...
* [Docs] Fix failed links in docs/zh_cn/faq.md
* fix links
2022-05-17 10:45:19 +08:00
Zaida Zhou
b326a219a7
[Docs] Replace markdownlint with mdformat for avoiding installing ruby ( #1936 )
...
* 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
2022-05-16 20:47:56 +08:00
Zaida Zhou
fb9af9f36f
[Docs] Fix heading anchor in documentation ( #1945 )
2022-05-09 22:53:17 +08:00
Zaida Zhou
8b4dcf1dfb
[Docs] Include several files in index.rts ( #1939 )
2022-05-07 16:26:18 +08:00
Wencheng Wu
a3a078eefb
[Enhancement] Support registering function ( #1858 )
...
* [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>
2022-05-02 18:31:41 +08:00
Hu Di
4efec73269
[Docs] Add IPU installation documentation ( #1904 )
...
* 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>
2022-04-28 14:59:27 +08:00
Alex Yang
4fb59b9830
[Docs] Update qq_group_qr_code ( #1899 )
2022-04-21 11:35:12 +08:00
Danila Rukhovich
aee596d523
[Enhance] Differentiable rotated IoU ( #1854 )
...
* 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
2022-04-15 15:40:07 +08:00
Sharpiless
969e2af866
[Feature] Support for linearly learning rate decay ( #1627 )
...
* update support for linearly learning rate decay
* Fix LinearAnnealingLrUpdaterHook, update LinearAnnealingMomentumUpdaterHook, add unit test
add docstring
add docstring
update linear lr momentum schedule test
fix ci
Fix CI
* add lr and momentum hook to runner and hooks package
add lr and momentum hook to runner and hooks package
* replace multi_optimziers with multi_optimizers
Co-authored-by: HAOCHENYE <21724054@zju.edu.cn>
Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
2022-03-31 09:39:40 +08:00
Zaida Zhou
5b5d0c15bc
[Docs] Add more Windows information in README ( #1829 )
...
* [Docs] Add more windows information in README
* minor fix
* rename MacOS to macOS
2022-03-23 23:41:51 +08:00
Vinay Kumar
e8cf961324
[Docs] minor typo fix in docs/en/understand_mmcv/ ( #1798 )
...
minor typo fix in `docs/en/understand_mmcv/data_process.md`
2022-03-14 10:10:53 +08:00
Vinay Kumar
5b7a167c98
[Docs] Fix typo in docs/en/understand_mmcv/cnn.md ( #1799 )
...
Fixed typo in `docs/en/understand_mmcv/cnn.md`. The `BaseModule` class implements `init_weights()` not `init_weight()`
2022-03-14 10:07:23 +08:00
Vinay Kumar
5c5a8e0355
[Docs] Fix minor typo in docs/en/config.md ( #1797 )
...
* minor typo
minor typing bug. replaced `deprecated.py` to `deprecated_cfg.py`
* fixing the typo
as per the example, the directory name is `converters` not `converter`.
2022-03-13 09:22:41 +08:00
q.yao
fd3a1a16ea
Add deprecate warning of deployment ( #1750 )
2022-03-01 15:07:07 +08:00
Mashiro
a0127e1712
[Enhancement] Reorganizing OpenMMLab projects in readme ( #1744 )
...
* Reorganizing OpenMMLab projects in readme
* Update README.md
* Reorganizing OpenMMLab projects in readme
Reorganizing OpenMMLab projects in readme
* fix typo
* fix typo
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-02-25 10:51:23 +08:00
Zaida Zhou
e7f049afa1
Add mmrotate link in README.md ( #1733 )
...
* Add mmrotate link in README.md
* Add mmrotate link in docs
* fix isort
2022-02-20 11:42:33 +08:00
Wenhao Wu
c1de4c9bbf
[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>
2022-02-18 15:53:10 +08:00
Ren Tianhe
5de2b130d3
[Docs] Fix typo in registry.md ( #1717 )
2022-02-14 10:44:18 +08:00
Jamie
6e2b1067ba
[Docs] Add cuDNN installation in tensorrt_plugin.md ( #1711 )
...
* Update tensorrt_plugin.md
* Update tensorrt_plugin.md
* Update tensorrt_plugin.md
* Update tensorrt_plugin.md
2022-02-12 12:51:08 +08:00
Zaida Zhou
b6e1ab7e83
add wechat qrcode ( #1669 )
2022-01-19 22:35:36 +08:00
Yue Zhou
594ff3c0d3
[Feature] Add convex IoU CUDA op for rotated detection. ( #1610 )
...
* add convex iou
* fix lint
* add convex_iou
* fix convex_iou
* add convex_giou
* fix bug
* fix lint
* fix bug
* Update
* update
* add kernel loop
* fix bug.
* fix polygen typo
* simplify reverse
* Update convex_iou_cuda_kernel.cuh
* Update mmcv/ops/convex_iou.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/convex_iou.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* add AT_DISPATCH_FLOATING_TYPES_AND_HALF
* fix lint
* fix lint
* Resolving conflicts
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-01-10 20:43:12 +08:00
Yue Zhou
9acc892a44
[Feature] Add active rotated filter op for rotated detection. ( #1598 )
...
* add active_rotated_filter
* fix lint
* fix lint
* renaming nRotation and nOrientation
* Update active_rotated_filter_cuda_kernel.cuh
* Update active_rotated_filter_cuda.cu
* fix bug
* fix lint
* Update test_active_rotated_filter.py
* fix lint
* Update active_rotated_filter_cuda_kernel.cuh
* renaming
* Update mmcv/ops/active_rotated_filter.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/active_rotated_filter.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/active_rotated_filter.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/active_rotated_filter.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/active_rotated_filter.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/active_rotated_filter.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* fix lint
* Resolving conflicts
* fix lint.
* Update __init__.py
* Update mmcv/ops/csrc/pytorch/cuda/active_rotated_filter_cuda.cu
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update active_rotated_filter.cpp
* fix lint
* Update mmcv/ops/csrc/pytorch/cpu/active_rotated_filter.cpp
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/csrc/pytorch/cpu/active_rotated_filter.cpp
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update active_rotated_filter.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-01-10 17:35:20 +08:00
Zaida Zhou
ff83e502a3
[Docs] Add the link of mmdeploy ( #1638 )
2022-01-10 16:26:37 +08:00