Commit Graph

1368 Commits (558742c9cb1fc593996e55522a08568f79ff51e5)
 

Author SHA1 Message Date
tripleMu 6cae40a45b
[Fix] Upgrade the version of isort to fix lint error (#2567) 2023-01-29 21:06:25 +08:00
Zaida Zhou eb57b3bbbe
Bump version to v2.0.0rc4 (#2559) 2023-01-18 10:25:36 +08:00
Zaida Zhou 009cfe602d
fileio related interfaces should keep bc (#2539)
* fileio related interfaces should keep bc

* fix format

* update unit tests of transforms

* update format

* lazily infer client until calling get function of fileio
2023-01-17 13:10:12 +08:00
ckirchhoff 34bdf448ac
[Feature] Pick npu ops from master to 2.x (#2501)
* merge npu ops from master to 2.x

* BugFix: fix merge bugs

* {[Feature]: add psamask, roipool to 2.x, and fix the SigmoidFocalLoss assert condition

* merge conflicts in ops.md

* [fix]: fix merge bug
2023-01-13 13:39:35 +08:00
liukuikun 7156604eba
[Feature] Add BezierAlign CUDA op (#2393)
* bezier align

* add ut

* fix comment

* updata ut

* fix link and comment

* fix comment
2023-01-10 17:05:39 +08:00
CokeDong 78fdf17817
Update parrots image (#2538)
* Update image for 2.x

* Update install cmd for 2.x
2023-01-10 11:02:59 +08:00
Mashiro 16155078f4
[Fix] Fix CI failed due to the version of protobuf (#2529)
* [Fix] Fix CI failed caused by protobuf

* minor refine

* test minimum_version_gpu

* test minimum_version_gpu

* test minimum_version_gpu

* fix ci

* remove protobuf from requirements

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2023-01-08 14:29:38 +08:00
Zaida Zhou fadd915cb8
[Fix] _flip_keypoint of RandomFlip returns a wrong result (#2527) 2023-01-06 20:21:58 +08:00
Mashiro 4ae327f43c
Deprecate the support for python3.6 (#2525)
* [Fix] Adjust the minimum supported version of Python to 3.6

* refine the docs
2023-01-06 15:39:44 +08:00
Zaida Zhou a3cb068590
[Refactor] Use the new interface of fileio from mmengine (#2468)
* [Refactor] Use new interface of fileio

* update ut

* remove file_client_args

* add * before backend_args

* refine backend_args description
2022-12-28 00:09:05 +08:00
q.yao 32cc2f7c72
[Fix] Fix the version of Windows OS to 2019 (#2503) 2022-12-20 22:50:57 +08:00
takuoko d510b8b174
[Feature] Support LayerScale in FFN (#2451)
* add layer scale

* add layer scale

* add layer scale

* Update mmcv/cnn/bricks/transformer.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update mmcv/cnn/bricks/transformer.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* add layer scale

* move LayerScale

* add layer_scale_init_value

* add typehint

* fix for tensor with any dim

* fix layer scale rule

* fix layer scale rule

* fix test

* add docs

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-11 17:58:19 +08:00
takuoko 433607030a
[Enhancement] Support value_proj_ratio in MultiScaleDeformableAttention (#2452)
* add ratio in ms_deform_attn_

* add ratio in ms_deform_attn

* Update mmcv/ops/multi_scale_deform_attn.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update tests/test_ops/test_ms_deformable_attn.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* add ratio in ms_deform_attn

* add ratio in ms_deform_attn

* add ratio in ms_deform_attn

* add ratio in ms_deform_attn

* add ratio in ms_deform_attn

* add ratio in ms_deform_attn

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-12-11 17:48:21 +08:00
vansin fb39e1e568
[Docs] Update qq group link (#2454)
* [Doc] update qq group link

* [Doc] update qq group link

* [Doc] update zhihu link

* [Doc] update the wechat qrcode link
2022-12-06 17:33:34 +08:00
liukuikun fd11b874cf
[Docs] Add convention for the order of data transforms (#2442) 2022-12-06 17:06:20 +08:00
Kei-Chi Tse 6e8183092a
[Fix] Fix optimizer 'ValueError' when using PReLU activation (#2444)
* fix optimizer ValueError when using PReLU activation.

* fix lint error
2022-12-06 16:57:58 +08:00
Zaida Zhou 2478cb6f84
[Docs] Update supported pytorch and cuda versions (#2456)
* Update supported pytorch versions

* update

* update
2022-11-28 10:59:07 +08:00
Zaida Zhou 104aaa8b78
Bump version to v2.0.0rc3 (#2447) 2022-11-23 18:55:21 +08:00
谢昕辰 b852c1c433
[Fix] Fix a not proper assertion in RandomChoiceResize (#2450)
* fix assertion

* remove assert

* use is_seq_of
2022-11-23 18:54:11 +08:00
ZShaopeng a0939977a3 [Feature] Support MultiScaleDeformableAttn with cambricon MLU backend 2022-11-23 16:57:35 +08:00
cathyzhang222 193de43bc8 [Feature] Support NMS with cambricon MLU590 backend (#2401)
* [Feature] Support Nms with cambricon MLU590 backend

support 590 for nms

* add blank
2022-11-23 16:57:35 +08:00
bdf e847cf8ad4 [Refactor] Adapt mlu code to cntoolkit3.0.1 2022-11-23 16:57:35 +08:00
Zaida Zhou 4c6e99c8e1 [Docs] Add code style guide (#2406)
* [Docs] Add code style guide

* add typing and mypy links

* fix format
2022-11-23 16:57:35 +08:00
Mashiro 7e7425f941 [Docs] Refine contributing.md (#1941)
* refaictor CONTRIBUDING.MD

* refaictor CONTRIBUDING.MD

* fix source rvm shell command

* fix lint

* add chinese contributing.md

* fix error render

* fix error render

* refine description

* refine description

* minor refine

* install ffmpeg before ut

* Minor retfine

* Minor refine

* refine chinese contributing.md

* Refine

* Fix as comment

* Fix as comment

* restore pr.md

* minor refine

* minor refine

* update chinese CONTRIBUTING.md in root dir

* adjust imgae size

* update en CONTRIBUTING.md

* update en CONTRIBUTING.md

* update contributing.md in docs

* restore change of index.rst

* Fix as comment

* minor refine

* remove content in PR.md

* minor refine

* minor refine

* minor refine

* Fix as comment

* rename

* minor refine
2022-11-23 16:57:35 +08:00
q.yao b0646e0ec9 [Fix] Fix Correlation op (#2274)
* fix correlation

* fix lint
2022-11-23 16:57:35 +08:00
cathyzhang222 6c89b71756 [Feature] Support Iou3d with cambricon MLU backend (#2339)
* [Feature] Support Iou3d with cambricon MLU backend

* [Feature] add double line

* [Feature] add line
2022-11-23 16:57:35 +08:00
Zhang e9777adbac [Feature] Support RoIAwarePool3d with cambricon MLU backend (#2359)
* [Feature] Support RoiawarePool3d with cambricon MLU backend.

* [Feature] Support RoiawarePool3d with cambricon MLU backend.
2022-11-23 16:57:35 +08:00
ChaimZhu 4a0e992958 [Fix] Fix the potential NaN bug in calc_square_dist() (#2356) 2022-11-23 16:57:35 +08:00
q.yao 2d10616b8f [Fix] Fix three nn op can not accept half tensor (#2348)
* Fix three nn half inpt

* update test
2022-11-23 16:57:35 +08:00
q.yao 3bb0611aef [Fix] Create Tensor with new_* method to support amp (#2389) 2022-11-23 16:57:35 +08:00
Zaida Zhou ac47088147
Add torch1.13 checking in CI (#2441)
* Add torch1.13 in CI

* swith to python3.7

* fix windows error
2022-11-22 14:52:00 +08:00
q.yao 1ea1b48916
[Fix] Fix roi align symbolic for torch>=1.13 (#2443)
* fix roi align symbolic for torch>1.13

* fix lint
2022-11-22 13:06:31 +08:00
Xin Li 5f58b9101f
[Docs] macOS building notice (#2364) 2022-10-30 14:09:00 +08:00
VVsssssk 4e0341f26f
[Features] Add stack ball query and stack group points ops (#2292)
* add stack sa model ops

* fix lint

* fix lint

* fix comments

* fix bug

* fix lint

* fix comments

* fix lint

* fix lint

* fix
2022-10-28 00:42:10 +08:00
LYMDLUT a0cac22cab
[Docs] Make installation commands compatible with windows cmd (#2353)
* fix the install bug in win cmd

* fix the install bug in win cmd

* Update README.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update README_zh-CN.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update docs/en/get_started/installation.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update docs/zh_cn/get_started/installation.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update docs/en/get_started/installation.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update docs/zh_cn/get_started/installation.md

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

Co-authored-by: lym <letusgo126@126.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-10-24 23:10:30 +08:00
Zaida Zhou 2b97c52d39
Bump version to v2.0.0rc2 (#2349)
* Bump version to v2.0.0rc2

* minor refine
2022-10-24 10:29:56 +08:00
Zaida Zhou 3ffb2a7a9a
Build macOS wheel when updating version info (#2350)
* Build macos wheel on 2.x branch

* remove env

* fix python3.10 can not found error

* fix python3.10 can not found error

* comment config

* trigger on push action
2022-10-24 00:24:27 +08:00
zhouzaida 791f70fd12 resolve conflicts when picking commits from master branch 2022-10-22 13:39:50 +08:00
bdf 2248cb45cc [Fix] Fix the bug of uninitialized prarmeter (#2345)
* [Fix] Fix the bug of uninitialized prarmeter

* refactor code for lint

Co-authored-by: budefei <budefei@cambricon.com>
2022-10-22 13:39:50 +08:00
bdf 24f88646ab [Feature] Add getJobLimitCapability interface and use it in nms 2022-10-22 13:39:50 +08:00
ZShaopeng a8f7ae48e2 [Feature] Support RoipointPool3d with cambricon MLU backend (#2247)
* [Feature] Support RoipointPool3d with cambricon MLU backend

* [Feature] Support RoipointPool3d with cambricon MLU backend

* [Feature] Support RoipointPool3d with cambricon MLU backend

* [Feature] Support RoipointPool3d with cambricon MLU backend

* [Feature] Support RoipointPool3d with cambricon MLU backend
2022-10-22 13:39:50 +08:00
bdf a364e6cad2 [Feature] Support DeformRoiPool with cambricon MLU backend (#2137)
* [Feature] Support DeformRoiPool with cambricon MLU backend

* [Fix] Remove use of std library

* [Fix] Correct the error information

* [Refactor] Refactor test deform_roi_pool code

* [Fix] Fix judgment error

* [Fix] Modify the large tensor check

Co-authored-by: budefei <budefei@cambricon.com>
2022-10-22 13:39:50 +08:00
q.yao 1c1964cbd5 Fix spconv clang-format (#2260) 2022-10-22 13:39:50 +08:00
CokeDong 8fae3b4682 [Feature] Support PrRoI op for Parrots (#2280)
* Support parrots extension for op PrRoI

* Fix lint

* Fix cpp lint

* Fix testcase failure by false requires_grad in self-defined autograd Funtion

* Fix issues

* Fix flake8

* Fix isort

* Adaption for typechecking for PrRoIPoolFunction

* Fix lint

* Support only float32

* bugfix
2022-10-22 13:39:50 +08:00
takuoko d8ac46df59 [Enhancement] Support SiLU with torch < 1.7.0 2022-10-22 13:39:50 +08:00
takuoko dfef152989 [Feature] Register a new activatation layer SiLU to ACTIVATION_LAYERS 2022-10-22 13:39:50 +08:00
tpoisonooo ecc9800a95 Fix warning of CUDA ops (#2324) 2022-10-22 13:39:50 +08:00
q.yao e0b3223baf fix ci 2022-10-22 13:39:50 +08:00
Zachary Streeter d1690cee1c resolve conflicts 2022-10-22 13:39:50 +08:00
tripleMu 0412097ec2 Add type hints for mmcv/image (#2089)
* Fix typehint

* minor fix

* minor fix

* minor fix

Co-authored-by: zhouzaida <zhouzaida@163.com>
2022-10-22 13:39:50 +08:00