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
Yue Zhou
51b40c332a
[Feature] Add min_area_polygons CUDA op for rotated detection. ( #1611 )
...
* init
* Update pybind.cpp
* Update min_area_polygons_cuda.cuh
* Update cudabind.cpp
* fix bug
* Create test_min_area_polygons.py
* add test
* update
* Update min_area_polygons_cuda.cuh
* fix bugs.
* Update min_area_polygons_cuda.cuh
* Update min_area_polygons.py
* Update min_area_polygons_cuda.cuh
* merge these 4 nested loops
* add AT_DISPATCH_FLOATING_TYPES_AND_HALF
* fix lint
* Resolving conflicts
2022-01-10 11:00:50 +08:00
Jiazhen Wang
d30e37d4d5
[Refactor] refactor requirements ( #1536 )
...
* [Improve] build using ninja
* [Refactor] refactor requirements
* [Improve] imporve docs
* [Fix] fix file name
2021-12-29 23:15:11 +08:00
Zaida Zhou
d68119c1fe
[Docs] Add the link of mmrazor ( #1612 )
...
* Add the link of mmrazor
* Add the link of mmrazor
2021-12-24 15:31:49 +08:00
zhouyue
304efbb650
[Feature] Add points_in_polygons CUDA op for rotated detection. ( #1600 )
2021-12-24 10:56:48 +08:00
zhouyue
0bcbeadb53
[Feature] Add RiRoIAlignRotated CUDA op for rotated detection. ( #1599 )
2021-12-24 00:30:34 +08:00
zhouyue
2475dc3452
[Feature] Add feature refine CUDA op for rotated detection. ( #1603 )
...
* re PR
* replace all the feature_refine with rotated_feature_align
* replace all the FR with RotatedFeatureAlign
* Update mmcv/ops/rotated_feature_align.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/rotated_feature_align.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* fix lint
* Update mmcv/ops/csrc/pytorch/cuda/rotated_feature_align_cuda.cu
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/csrc/pytorch/cuda/cudabind.cpp
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/csrc/pytorch/cuda/rotated_feature_align_cuda.cu
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/csrc/pytorch/cuda/rotated_feature_align_cuda.cu
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update mmcv/ops/csrc/pytorch/cuda/rotated_feature_align_cuda.cu
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* fix lint
* Update cudabind.cpp
* Update cudabind.cpp
* fix bug in test. & add backward test
* fix lint
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2021-12-23 17:38:58 +08:00
Crimson
f367d621c6
Update runner.md ( #1591 )
2021-12-22 10:53:06 +08:00
Zaida Zhou
e4b5348ebf
[Docs] Refactor the structure of documentation ( #1580 )
...
* [Docs] Refactor the structure of documentation
* [Docs] Refactor the structure of documentation
* fix symlink
* fix link
* fix typo
* polish docstring
* fix docstring
2021-12-15 17:01:09 +08:00
Zaida Zhou
81f032edc5
[Docs] Update FAQ ( #1481 )
...
* [Docs] Update FAQ
* update faq
* polish the description
* update faq
* update faq
* improve the faq
* improve the faq
* improve the faq
2021-12-14 13:19:18 +08:00
Zaida Zhou
519b4ec028
[Docs] Use shared menu ( #1574 )
2021-12-12 12:13:08 +08:00
Zaida Zhou
53c1b2fe91
[Docs] Improve the style of pr.md ( #1567 )
...
* [Docs] Improve the style of pr.md
* fix symlink
* improve style
* fix format
2021-12-09 11:03:08 +08:00
Zaida Zhou
44e7eee835
[Docs] Add the link of mmhuman3d ( #1561 )
...
* Add the link of mmhuman3d
* fix typo
* add link of mim
* add link of mim in docs
* improve the table format
2021-12-07 14:32:44 +08:00
Zaida Zhou
9b227ecfc0
[Fix] Remove outdated code in docs/conf.py ( #1560 )
2021-12-06 17:19:56 +08:00
Luting Wang
56e9f73c58
[Feature] Add ModuleDict inherited from BaseModule and ModuleDict ( #1542 )
...
* improve: add module dict
* Update __init__.py
* docs: add module dict zh
* docs: add module dict
* Update test_basemodule.py
* Update __init__.py
* lint
* lint
* docs
* docs
* Update base_module.py
* lint
2021-12-06 11:56:12 +08:00
RunningLeon
72182747a1
[Doc]: Fix deploy doc ( #1512 )
...
* update title
* fix deploy docs in for readthedocs
* reformat table
* resolve comments
2021-12-03 15:12:40 +08:00
Zaida Zhou
d4d6ea09e3
[Docs] Add mmfewshot link ( #1528 )
2021-11-26 20:48:55 +08:00
q.yao
230f9a3b80
Refactor csrc with device dispatcher ( #1463 )
...
* Add device registry for pytorch ops
* add declaration of CheckDeviceConsistency
* fix for torch130
* assert with torch check
* Refactor ops with dispatch
* update rest ops
* faster install
* update compatibility
* update compatibility, rename parameter
* move cpu implement to pytorch/cpu
* update ops/csrc/README.md
* fix rocm support
* update cn document
* update docs
* list instead of map
2021-11-23 21:59:53 +08:00
Zaida Zhou
ef8ba75202
[Docs] Add the url of pre-built packages built with cuda 11.3 ( #1489 )
2021-11-23 21:36:18 +08:00
Zaida Zhou
144f1e129e
[Docs] Add a script to check the installation of mmcv-full ( #1474 )
...
* [Docs] Add a script to verify the installation of mmcv-full
* polish documentation
* polish documentation
* print the running and compiling environments
* rename scripts to .dev_scripts
* polish readme
2021-11-23 18:42:41 +08:00
古月闻星
e85c43ab87
[Doc]: Fix grammatical error ( #1516 )
2021-11-23 18:32:36 +08:00
Zaida Zhou
2f023453d6
[Docs] Add the link and introduction of mmflow in README ( #1506 )
...
* [Docs] Add the link and introduction of mmflow in README
* remove a blank line
* fix link
2021-11-22 10:20:27 +08:00
Zaida Zhou
add157cc73
bump version to v1.3.17 ( #1473 )
...
* bump version to v1.3.17
* add a document to record the previous versions of PyTorch built for mmcv-full
* polish readme
2021-11-10 21:02:40 +08:00
Wenwei Zhang
f81cf0f702
[Docs]: Add ops definition ( #1434 )
...
* [Improve] improve checkpoint loading log (#1446 )
* add first version
* remove syncbn
* remove unused ops
* update input names
* remove empty line
* update index.rst
* resolve comments
* fix type
* Update mmcv_ops_definition.md
Co-authored-by: WangJiaZhen <47851024+teamwong111@users.noreply.github.com>
Co-authored-by: maningsheng <mnsheng@yeah.net>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2021-11-10 19:07:12 +08:00
zhouzaida
e22740b1d6
add note
2021-11-04 14:39:59 +08:00
zhouzaida
d57026b7fc
Update the table of pre-built packages in readme
2021-11-04 14:39:59 +08:00
Zaida Zhou
fd6eab697d
[Docs] Add mmcv itself in the docs list ( #1441 )
...
* Add mmcv itself in the docs list
* modify link of docs
2021-11-02 20:59:26 +08:00
Zaida Zhou
5b5b47fc87
[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
2021-10-23 20:51:44 +08:00
dingchang
75cae78c55
[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>
2021-10-23 14:01:31 +08:00
dingchang
4c8bfb48ef
[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>
2021-10-21 20:00:04 +08:00
dingchang
e3e1dba2c8
[Feature] Add voxel ops from mmdet3d ( #1381 )
...
* add ops (voxel) in mmdet3d
* add ops (voxel) in mmdet3d
* add ops (voxel) in mmdet3d
* refactor code
* update test
* update test
* update test
* refactor code
* refactor code
* refactor code
* fix typo
* fix typo
2021-10-21 11:08:11 +08:00
Zaida Zhou
c85c240fd8
[Docs] Fix error when building pdf ( #1414 )
...
* [Docs] Fix error when building pdf
* fix link
2021-10-20 14:33:40 +08:00
dingchang
5c25ae1a19
[Feature] Add roipoint_pool3d op from mmdet3d ( #1358 )
...
* add ops (roipoint_pool3d) in mmdet3d
* refactor code
* fix typo
* add unit test
* refactor code
* refactor code
* refactor code
* fix typo
2021-10-15 17:15:53 +08:00
dingchang
e99bfce608
[Feature] Add assign_score_withk op for paconv from mmdet3d ( #1357 )
...
* add ops (assign_score_withk) in mmdet3d
* add ops (assign_score_withk) in mmdet3d
* refactor code
* fix typo
* refactor code
* fix typo
* polish docstring
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2021-10-15 13:18:31 +08:00
dingchang
be5841e45d
[Feature] Add interpolate ops from mmdet3d ( #1355 )
...
* add ops (interpolate) in mmdet3d
* refactor code
* fix typo
* fix typo
* fix typo
* refactor code
2021-10-14 20:51:02 +08:00
dingchang
1cd01db935
[Feature] Add gather points op from mmdet3d ( #1338 )
...
* add ops (gather points) in mmdet3d
* add ops (gather points) in mmdet3d
* refactor code
* refactor code
* fix typo
2021-10-14 16:58:12 +08:00
dingchang
42c9e71120
[Feature] Add knn op from mmdet3d ( #1354 )
...
* add ops (knn) in mmdet3d
* refactor code
* refactor code
* fix typo
* fix typo
* fix typo
* refactor code
* refactor code
* spell typo
* fix spell typo
2021-10-14 13:33:13 +08:00
dingchang
63a6cbe913
[Feature] Add fps op from mmdet3d ( #1337 )
...
* add ops (furthest point sample) in mmdet3d
* refactor code
* refactor code
* fix typo
* fix typo
* fix typo
* refactor code
* fix typo
* define DIVUP in common_cuda_helper.hpp
2021-10-13 20:39:31 +08:00
Eugene Liu
599163e645
Add Deformable Conv CustomOp for onnxruntime ( #1343 )
...
* add onnx dcn
* replace gemm with torch C++ api
* small update
* fix cpp clang format
* pefer generic GEMM than torch ATen library
* addressing comments
* add ops path check
2021-10-13 20:28:24 +08:00
Zaida Zhou
48d5b095a2
Polish readme ( #1320 )
...
* [Docs] Polish README
* [Docs] Polish README
* [Docs] Polish README
* fix typo
* update qq link
* fix typo
* update LICENSES.md
2021-10-13 20:25:49 +08:00
Zaida Zhou
f22c9eb4a4
Add code spell hook to pre-commit and fix typos ( #1384 )
...
* Add code-spell hook to pre-commit
* Add code-spell hook to pre-commit and fix typos
* fix setup.cfg
2021-10-04 20:13:54 +08:00
Zaida Zhou
f69a3a44e3
[Docs] Translate building documentation ( #1353 )
...
* [Docs] Translate building documentation
* polish translation
2021-09-24 17:02:59 +08:00
q.yao
afe0794ce8
[Docs] Add docs_zh_CN of TensorRT ( #1336 )
...
* Add docs_zh_CN of TensorRT
* fix according to doc-cn-onnx
* update doc of cummax cummin
* Apply suggestions from code review
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* update heading
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2021-09-24 17:00:35 +08:00
q.yao
2b39d7a8ec
[Docs] Add zh_cn document of ONNX ( #1331 )
...
* add doc-cn of ONNX
* Update docs_zh_CN/deployment/onnxruntime_custom_ops.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* update doc of cummax
* fix en doc of softnms
* update heading
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2021-09-24 16:57:20 +08:00
Ty Feng
6f533ff113
[Docs] cnn.md translated ( #1246 )
...
* cnn.md translated
* polish translation
* polish translation
Co-authored-by: zhouzaida <zhouzaida@163.com>
2021-09-24 16:54:32 +08:00
Miao Zheng
b92ea0b5df
[Feature] Add Correlation CUDA op ( #1361 )
2021-09-23 21:08:41 +08:00
dingchang
f3dfc4135b
[Feature] Add ballquery op from mmdet3d ( #1332 )
2021-09-23 21:08:00 +08:00
Zaida Zhou
1216e5fe7f
[Docs] Use PyTorch sphinx theme ( #1321 )
...
* [Docs] Use PyTorch sphinx theme
* add sphinx-copybutton
* add twitter and zhihu link
* remove shpinx_rtd_theme from doc.xtx
* update docs.txt
* update conf.py
2021-09-14 16:35:41 +08:00
Wei Ji
9016fef560
Fix typo on pip install mmcv-full torch1.9 cpu ( #1313 )
...
* Fix typo on pip install mmcv-full torch1.9 cpu
* 修改 pip install mmcv-full torch1.9 cpu 的错别字
* Fix typos in installation.md
Point to https://download.openmmlab.com/mmcv/dist/cpu/torch1.9.0/index.html
2021-09-07 17:32:11 +08:00
q.yao
8aab4f2595
[Fix] Update requirement of ONNX Runtime ( #1290 )
...
* update requirements of onnxruntime
* update document
* use python setup.py instead of pip install
2021-08-23 23:31:23 +08:00
Haian Huang(深度眸)
f022d57702
Add Chinese Documentation of runner ( #1202 )
...
* Add Chinese Documentation of runner
* Fix error
* Fix lint
* update
* update comment
2021-08-23 14:25:24 +08:00
Paige Wang
1790e9f265
add modulated_deform_conv in onnxruntime support ( #1281 )
...
* 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
2021-08-23 11:22:24 +08:00
jiang1997
9f0cc5a6e4
[WIP] Apply to translate "docs_zh_CN/understand_mmcv/utils.md" ( #1232 )
...
* Copy utils.md from docs
* Add Chinese translation of docs_zh_CN/understand_mmcv/utils.md
* recommit with pre-commit hook
* polish
* Update docs_zh_CN/understand_mmcv/utils.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* Update docs_zh_CN/understand_mmcv/utils.md
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
* fix path of image
* set priority when build html
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: zhouzaida <zhouzaida@163.com>
2021-08-23 11:12:17 +08:00
Yining Li
4d9b43debd
Support deprecation info in Config ( #1275 )
...
* Support deprecation checking in Config
* add unittest for config deprecation
* support reference link in deprecation info
* add doc
* Update config.md
2021-08-23 10:36:37 +08:00
Zaida Zhou
aa64ee6a7c
[Docs] Use myst parser ( #1287 )
...
* add myst-parser extension for sphinx
* make note style more beautiful
2021-08-22 09:44:51 +08:00
Zaida Zhou
9c58d9e750
Fix typo ( #1280 )
...
* fix typo
* fix typo
2021-08-19 10:04:54 +08:00
Zaida Zhou
9679ce8c99
[Docs] Remove the _static in docs_zh_CN ( #1277 )
...
* [Docs] Remove _static in docs_zh_CN
* fix html_static_path
* fix shpinx warning
2021-08-17 21:16:18 +08:00
Zaida Zhou
8d2d781225
[Docs] Fix pdf build ( #1266 )
...
* [Fix] Fix pdf error when building docs
* fix docs
* fix pdf
* fix pdf
* fix pdf
2021-08-17 16:03:55 +08:00
Zaida Zhou
dfb48c87ae
[Refactor] Refactor the directory of csrc ( #1206 )
...
* [Refactor] Refactor the csrc directory
* update MANIFEST.in
* fix hip
* add csrc readme
* trailing whitespace
* fix syntax error in setup.py
* add compatibility docs
* move parrots_cudawarpfunction.cuh to common/cuda
* fix grammar, update directory tree
* fix MANIFEST.in
* Add new structre of csrc in compatibility.md
* Add original structre of csrc in compatibility.md
* fix typo
* remove TODO
* modify according to comment
* format
Co-authored-by: grimoire <yaoqian@sensetime.com>
2021-08-10 15:09:19 +08:00
Miao Zheng
94a677de3f
[Docs] Add PR document ( #1209 )
...
* [Docs] Add PR document
* format
* idx modify
* revise according to comments
* add blank line
* grammar
* insert blank line after title
* revise according to comments
* revise according to comments
* typo
* resize image3
* lint
* del print
* fix lint
* del unused
Co-authored-by: zhouzaida <zhouzaida@163.com>
2021-08-09 22:29:21 +08:00
Zaida Zhou
3040299bb5
[Docs] Update readme and docs ( #1190 )
...
* [Docs] Update readme and docs
* add Chinese introduction
* fix table error
2021-07-20 17:18:28 +08:00
Zaida Zhou
db580dda8d
[Docs] Build Chinese docs ( #1073 )
...
* Remove _build directroy in docs_zh_CN
* Change utils title to Chinese
* Translate documents
* Translate documents
* Use symbolic link to avoid repeated images
* Use symbolic link to avoid repeated images
* fix readme.md
* update copyright
* refactor docs
* rename title to Chinese
2021-07-07 13:10:04 +08:00
Zaida Zhou
66cefaffa3
[Docs] Refactor docs ( #1102 )
...
* [Docs] Refactor documentation
* [Docs] Refactor documentation
* refactor docs
* refactor docs
* set sphinx==3.1.2
* fix typo
* modify according to comment
* modify according to comment
* modify according to comment
* [Docs] delete unnecessary file
* fix title
* rename
* rename
2021-07-02 20:53:00 +08:00
Zaida Zhou
76d9bf1efb
[Docs] Fix error when cv2 is mocked ( #1152 )
2021-06-28 17:31:36 +08:00
lizz
d9effbd1d0
Support variables in base files for configs ( #1083 )
...
* 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>
2021-06-25 14:30:58 +08:00
q.yao
004c00675f
[Feature]: add modulated deformable conv TensorRT support ( #1078 )
...
* add modulated dcn, better dcn plugin
* clangformat
* update documentation
2021-06-16 21:38:07 +08:00
LXXXXR
c9b009f1ba
fix typo ( #1094 )
2021-06-11 20:08:08 +08:00
LXXXXR
1076958cd4
[Docs] Add runner tutorial ( #1082 )
...
* add runner doc
* revised according to comments and remove non existing links
* revise according to comments
2021-06-09 22:41:02 +08:00
SemyonBevzuk
bf2c9fa8d2
[Feature] NMS update ( #957 )
...
* 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
* update version check
* remove check for onnx
Co-authored-by: maningsheng <maningsheng@sensetime.com>
2021-05-31 23:42:26 +08:00
RunningLeon
4d42365ac2
[Feature]: add TensorRT InstanceNormalization plugin ( #1034 )
...
* add instancenorm plugin
* resolve comments
* fix lint
* fix typo
2021-05-25 20:03:57 +08:00
lizz
13888df2aa
Fix typos ( #1041 )
...
* Fix typos
Signed-off-by: lizz <lizz@sensetime.com>
* Add deprecation warning
Signed-off-by: lizz <lizz@sensetime.com>
2021-05-24 14:51:45 +08:00
q.yao
9d1436fb6c
[Feature] add cummax/cummin tensorrt plugin ( #1031 )
...
* add cummax/cummin tensorrt plugin
* fix isort
* fix with clang-format
* fix with clang-format again
* add document
2021-05-24 13:55:21 +08:00
Zaida Zhou
a1d3bf1c80
[Docs] Update weight initialization in cnn.md ( #912 )
...
* [Docs] Update weight initialization in cnn.md
* Update cnn.md
* [Docs] Update weight initialization in cnn.md
* [Docs] Update weight initialization in cnn.md
* [Docs] Update weight initialization in cnn.md
* [Docs] Update weight initialization in cnn.md
* [Docs] Update weight initialization in cnn.md
* modify docs according to comments
* modify docs for weight init according to the comment
* change init_weight() to init_weights()
* modify according to comment
2021-05-13 20:29:36 +08:00
v-qjqs
934b549e23
Support custom operators cummax and cummin for onnxruntime ( #1010 )
...
* support custom op `mmcv::cummax` for onnxruntime in mmcv
* fix clang-format lint error
* support mmcv::cummin, reformat codes
* fix merge from master
* add docs for mmcv::cummax and mmcv::cummin
* format doc
* add assertion for torch version, when exporting `cummax` to onnx
* add more comments for torch version
* handle exporting to onnx in `soft_nms`
* commit for test_onnx
* remove `is_in_onnx_export` in softnms
* add more comments
* fix c++ lint error
* add known issues doc for `cummax`
* fix known issues doc
2021-05-10 21:33:27 +08:00
v-qjqs
db6b0542c7
[Feature]: Support corner_pool related custom operators for onnxruntime in mmcv ( #997 )
...
* supports for onnxruntime custom op `mmcv::MMCVTopPool`
* supports for onnxruntime custom op `mmcv::MMCVCornerPool`, involving TopPool, BottomPool, LeftPool and RightPool
* add unittest for corner_pool
* supports mmcv::CornerPool without memcpy
* add docs for mmcv::CornerPool
* re-add docs for mmcv::CornerPool
* fix output dtype doc
* reformat
* format with pre-commit
* format
* fix lint error, by using google clang-format style for c/c++
2021-05-01 16:28:25 +08:00
zhouzaida
ae411509dd
[Docs] Add QR code in CN README ( #954 )
2021-04-16 21:22:51 +08:00
q.yao
e478e9ff7f
[Doc]: Add document of TensorRT and onnxruntime custom ops ( #920 )
...
* update tensorrt plugin document
* add onnxruntime custom ops document
* format document
* add release note to onnxruntime_op and tensorrt_plugin
* update document
* add deployment.rst
* add grid_sampler onnxruntime document
* fix lint
* add allow_different_nesting tag
* add allow_different_nesting tag
Co-authored-by: maningsheng <maningsheng@sensetime.com>
2021-04-12 14:06:28 +08:00
Jerry Jiarui XU
375605fba8
add model registry ( #760 )
...
* add model registry
* fixed infer scoep
* fixed build func
* add docstring
* add md
* support multi level
* clean comments
* add docs
* fixed parent
* add more doc
* add value error, add docstring
* fixed docs
* change to local/global search
* resolve comments
* fixed test
* update some docstring
* update docs (minior)
* update docs
* update docs
2021-04-10 21:33:34 +08:00
QingChuanWS
b5e1facc85
[Refactor]: Remove deprecated onnx-simplify source code ( #927 )
...
* remove custom simplify model
* update docs about onnx-simplify
2021-04-09 16:17:11 +08:00
Jintao Lin
be6541d480
[Feature] Add EvalHook which will be used in downstream projects ( #739 )
...
* add EvalHook
* add EvalHook
* refactor docstring
* polish
* use cp instead symlink
* add error info
* Update eval.py
* Update eval.py
* update
* add engine depandancy
* add comments
* fix unittest
* fix
* update unittest
* update unittest
* add docstring
* fix docstring
2021-04-08 16:42:30 +08:00
ftbabi
8735815a0d
Add GELU activation function ( #843 )
...
* Support GELU activation function
* Support different torch version
* Fix bug in importing TORCH_VERSION
* Wrap GELU module for PyTorch 1.3.x
* Wrap GELU module for PyTorch 1.3.x
2021-02-22 10:55:42 +08:00
ftbabi
9637bcff7c
Fix document in cnn.md ( #841 )
2021-02-21 11:13:39 +08:00
ftbabi
6c57b88f5d
Fix document in io.md ( #813 )
2021-02-02 22:50:18 +08:00
RunningLeon
5afca135f7
[Doc]: add a short document for TensorRT plugins in mmcv ( #797 )
...
* add trt doc
* add notes
* add sphinx_markdown_tables
* resolve comments
* resolve comments
2021-01-28 15:57:13 +08:00
RunningLeon
477f0c0a39
[Fix]: Set installation of onnx simplify's related packages to optional ( #779 )
...
* Fix onnx, onnxruntime, onnxoptimizer import
* Revert "Fix onnx, onnxruntime, onnxoptimizer import"
This reverts commit 820e3785a1
.
* remove simplify from init file
* update test for onnx simplify
* update onnx doc
2021-01-08 13:15:37 +08:00
Wenwei Zhang
080474b9a6
Fix typo in docs ( #768 )
...
* fix typo in docs
* add contents
* resolve typo
2021-01-02 14:52:13 +08:00
RunningLeon
83732ec2e3
[Feature] add onnx simplify ( #751 )
...
* [Enhance]: add onxx simplify
* add simple doc
* add unit test
* update docstring
* resolve some comment
* add test dependency:onnxoptimizer
* Fix onnxruntime register empty libpath
* test onnxruntime version
* set checker to false
* skip test_simplify for torch<1.5.0
2020-12-31 19:16:48 +08:00
tangyanf
741e52dd5e
[Feature]: add custom op roialign for onnxruntime ( #724 )
...
* add ort custom op roialign
* Update roi_align.py
* Update test_onnx.py
* Update test_onnx.py
* Update test_onnx.py
* Update test_onnx.py
* Update onnxruntime_register.cpp
* Update roiAlign.h
* Update roiAlign.cpp
* lint modification
* update roiAlign.cpp
* lint check
* lint check
* lint fix
* lint fix
* fix lint
* add link to commit
Co-authored-by: maningsheng <maningsheng@sensetime.com>
2020-12-29 14:09:30 +08:00
q.yao
94810f2297
[Feature]: Add custom operators support for onnxruntime in mmcv ( #612 )
...
* add onnx support to roi_align and roi_pool
* add softnms ort support
* fix for lint
* format cpp code with clang-format:google
* add new empty line to the end of head files in onnxruntime
* update to pytorch1.7
* add test of softnms to onnxruntime
* fix for lint
* remote print in ops/info.py
* change import order, fix for flake8
* fix include
* add assert torch>=1.7.0
* [doc]: add document for onnxruntime custom operator
* update onnxruntime version to v1.5.1 for softnms
* remove doc menu
* Resolve lint for markdown
* resolve naming style in onnxruntime_op.md
* Use old cpp apis, optimize test_onnx.py
* Fixing strings in tests/test_ops/test_onnx.py
* code format with yapf
* fix soft_nms parrot
* add import in onnxruntime setup, avoid conflict
* fix doc and add assert
* change cpp guard
Co-authored-by: maningsheng <maningsheng@sensetime.com>
2020-12-23 11:03:55 +08:00
Y. Xiong
8b4e5de43d
Add nms compile issue to trouble_shooting page ( #733 )
...
* Add nms compile issue to trouble_shooting page
* after lint
* update link to online doc
2020-12-22 17:02:42 +08:00
Rui Xu
b7136e3953
[Refactor] remove the c implementation of flow_warp ( #707 )
...
* remove flow-warp-c
* remove flow warp in setup.py and imports
* fix floor and ceil bug
* fix broadcast bug
* add warnings and assertions
* fix bilinear bug
* pass unit test
* pass unit test
* pass unit test
* pass unit test
* fix value bug
* fix lint
* fix lint
* add mk lint
* update docs
* update docs
* fix bug in imports
* fix bug in setup.py
2020-12-13 19:43:25 +08:00
WRH
d2ca6cebb3
[DOC] build on windows ( #663 )
...
* previous doc
* init version of windows installation
* refine doc
* merge build instructions
* fix styles
* add some detail
* change an item to note
Co-authored-by: Kai Chen <chenkaidev@gmail.com>
2020-12-01 10:36:20 +08:00
Wenwei Zhang
d2fa1abc53
Add documentations for registry ( #656 )
...
* add documentations for registry
* update example
* update sphinx
* add intro
* resolve comments
2020-11-23 15:29:22 +08:00
Kai Chen
03214fd446
Support pytorch 1.7 and update the CI ( #631 )
...
* support pytorch 1.7 and update the CI
* fix CI
* fix onnxruntime version in macos
2020-10-31 17:58:15 +08:00
Kai Chen
f3a2be99b9
lint markdown files ( #592 )
2020-09-29 10:44:44 +08:00
Cao Yuhang
dc778481cb
add op trouble shooting ( #479 )
...
* add op trouble shooting
* update trouble_shooting.md
* clean ops.md
* add trouble shooting to index.rst
* reorder
* add troubleshooting in readme
2020-08-13 22:04:58 +08:00
ChaseMonsterAway
6b43ae3700
Update cnn.md ( #466 )
2020-08-06 16:51:58 +08:00
Kai Chen
487f381f25
fix docs ( #440 )
2020-07-21 14:48:16 +08:00
Joanna
27cc439d01
Update config to support predefined variables ( #348 )
...
* update config with predefined variables
* rm redun
Signed-off-by: lixuanyi <lixuanyi@sensetime.com>
* add test for config
Signed-off-by: lixuanyi <lixuanyi@sensetime.com>
* support all types
Signed-off-by: lixuanyi <lixuanyi@sensetime.com>
* newline at the end
Signed-off-by: lixuanyi <lixuanyi@sensetime.com>
* update
Signed-off-by: lixuanyi <lixuanyi@sensetime.com>
* extract code into a function and add docs
Signed-off-by: lixuanyi <lixuanyi@sensetime.com>
* fix and add tests
Signed-off-by: lixuanyi <lixuanyi@sensetime.com>
* add unit tests and fix
* fix
* fix minor
* fix test
2020-07-08 20:53:54 +08:00
Wenwei Zhang
18d6372027
Rewrite readme.rst by markdown ( #391 )
...
* Rewrite readme.rst by markdown
* Update setup.py
* Update mmcv links
* clean code
* Add logo
* Resolve comments
* clean unnecessary code change
2020-07-08 01:20:27 +08:00
Kai Chen
63b7aa31b6
Fix docstring formats ( #383 )
...
* update doc formats
* update docstring
2020-07-04 00:55:25 +08:00
Xiaojie Li
82211b407e
Added new features to `impad` ( #377 )
...
* update impad
* fix docstring
* add shape for impad
* fix unit test
* remove old version & fix doc
* fix linting
* fix doc
Co-authored-by: lixiaojie <lixiaojie@sensetime.com>
2020-07-02 19:34:46 +08:00
zhuyuanhao
c0f5492ee9
add ext ops, support parrots ( #310 )
...
* add ext ops, support parrots
* fix lint
* fix lint
* update op from mmdetection
* support non-pytorch env
* fix import bug
* test not import mmcv.op
* rename mmcv.op to mmcv.ops
* fix compile warning
* 1. fix syncbn warning in pytorch 1.5
2. support only cpu compile
3. add point_sample from mmdet
* fix text bug
* update docstrings
* fix line endings
* minor updates
* remove non_local from ops
* bug fix for nonlocal2d
* rename ops_ext to _ext and _ext to _flow_warp_ext
* update the doc
* try clang-format github action
* fix github action
* add ops to api.rst
* fix cpp format
* fix clang format issues
* remove .clang-format
Co-authored-by: Kai Chen <chenkaidev@gmail.com>
2020-06-28 23:15:47 +08:00
Wang Xinjiang
630b747cb1
added pillow backend in loading ( #333 )
...
* added pillow backend in loading
* reformat
* remove auto fill for RGBA
* change according to comments
* change according to comments
* reformat
2020-06-17 10:25:48 +08:00
Jerry Jiarui XU
37d8facfad
Support default/external json for open-mmlab models ( #230 )
...
* support default/external json for open-mmlab models
* add local
* add more test
* add docs
* add docs
* update docs
* refactor
* add json in MANIFEST
* fixed json typo
2020-05-27 17:12:43 +08:00
Kai Chen
e54c85e71c
fix the doc building ( #268 )
2020-05-05 14:07:04 +08:00
Kai Chen
1f6ac2ca85
Add docs for CNN modules ( #266 )
...
* add docs for cnn modules
* minor fix
* update format
* minor fix
* bump version to v0.5.1
2020-05-05 12:02:33 +08:00
Jerry Jiarui XU
1e8a212187
Add DictAction and docs for config ( #243 )
...
* fixed merge_from_dict, add DictAction
* add config docs
* fixed format type
* change to easy example
* update docs
* update docs
2020-04-25 20:56:08 +08:00
Kai Chen
12e5913bb9
Remove supports for python 2.7 and bump version to 0.4.0 ( #211 )
...
* remove supports for python 2.7
* fix the unit test for python 3.5
* add python 3.8 in CI
* try ubuntu 18.04 as the environment
2020-03-16 15:15:35 +08:00
Kai Chen
3fa5851891
Update pre-commit hook config ( #200 )
...
* update pre-commit hook config
* update the contributing guide
2020-03-01 15:51:40 +08:00
Kai Chen
e127ef28db
Fix the missing numpy module for readthedocs ( #182 )
...
* Fix the missing numpy module for readthedocs
* fix the linting
2020-02-12 17:12:38 +08:00
lizz
712651aab6
Adaptive progress bar length ( #174 )
...
* Adaptive progress bar length
Signed-off-by: lizz <lizz@sensetime.com>
* it works
Signed-off-by: lizz <lizz@sensetime.com>
* format
* pass test
* :lipstick
* test
* Update test_progressbar.py
* 2.7
* sort import
Signed-off-by: lizz <lizz@sensetime.com>
* try this
Signed-off-by: lizz <lizz@sensetime.com>
2020-02-02 18:18:17 +08:00
lizz
90a0f353ee
Format to conform pre-commit ( #173 )
...
Signed-off-by: lizz <lizz@sensetime.com>
2020-02-01 10:14:55 +08:00
ZwwWayne
d5865e0cbd
Track iter progress ( #112 )
...
* track progress of iter&enum
* reformat
* reformat with yapf
* add unitest
* add doc, and deprecate track_enum_progress
* update docs & comments
2019-08-20 15:05:17 +08:00
Kai Chen
0ad15a508e
Add mmcv._ext to autodoc_mock_imports ( #86 )
2019-07-07 17:32:40 +08:00
Kai Chen
e60c7efde3
Improve the documentation ( #85 )
...
* fix doc generation
* add docs for optical flow
* fix typo
2019-07-07 16:54:22 +08:00
Aitical
b0f40396ad
Update the documentation ( #36 )
...
* update the documentation
* update the documentation
* Update io.md
2019-03-09 16:16:08 -08:00
youkaichao
e4e6960a8c
correct typo
2019-02-10 19:46:48 +08:00
kuonangzhe
e093bb1397
Update image.md: fix inconsistent API ( #19 )
...
Update old crop_img and pad_img to imcrop and impad
2018-10-13 16:56:46 +08:00
Kai Chen
da39212f94
add requirements.txt
2018-10-13 01:50:42 +08:00
Kai Chen
54dd32ea22
fix path error to autodoc apis
2018-10-13 01:35:03 +08:00
Kai Chen
f75f4094f3
fix doc building error
2018-10-12 13:58:01 +08:00
Kai Chen
d2358c87f8
update the documentation for release
2018-10-12 13:07:35 +08:00
Kai Chen
4cfd45f7b0
minor fix
2018-10-06 14:53:22 +08:00
Kai Chen
6d623cf1ed
add some documentation
2018-10-06 14:44:27 +08:00
Kai Chen
f573c11c3d
draft documentation
2018-10-05 00:01:05 +08:00