Commit Graph

1289 Commits (3bb0611aefd0e485d27e3c61f189f1140c9736f6)
 

Author SHA1 Message Date
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
Zaida Zhou f7c01d44b1 [Docs] Add zhihu articles (#2157)
* [Docs] Add zhihu articles

* add OpenMMLabCourse link

* fix typo
2022-10-22 13:39:50 +08:00
Zaida Zhou 5b279fbd53
[Docs] Refine reamde and installation (#2340)
* [Docs] Simplify README

* Simplify README_zh-CN

* Update installation docs

* Add mmyolo link in README

* update introduction

* update installation

* Update build docs

* remove io link in README

* update
2022-10-22 12:43:27 +08:00
q.yao cb2eb57683
Remove onnx (#2295)
* remove onnx

* remove print
2022-10-21 15:35:07 +08:00
Xin Li c9ed3f5245
[Docs] Translate data_transform.md to English (#2325)
* draft 1 with some typo fixed

* draft 2

* Update docs/en/understand_mmcv/data_process.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>

* Remove timer tool

* Update docs/en/understand_mmcv/data_transform.md

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

* Update docs/en/understand_mmcv/data_transform.md

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

* Update docs/en/understand_mmcv/data_transform.md

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

* Update docs/en/understand_mmcv/data_transform.md

Co-authored-by: Qian Zhao <112053249+C1rN09@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-10-20 14:41:41 +08:00
Mashiro a6c42ad324
[Feature] Add TTA transform (#2146)
* Add TestRandomResize

* rename ut class

* minor retine

* Replace for loop with itertools.product

* Support accept built transforms

* Fix unit test

* Refine docstring

* minor refine

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

* Minor refine

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-10-19 23:32:22 +08:00
Miao Zheng bf48ca035b
[Fix] Add `swap_labe_pairs` in `RandomFlip` (#2332)
* [Fix] Add `swap_labe_pairs` in `RandomFlip`

* [Fix] Add `swap_labe_pairs` in `RandomFlip`

* add reference info

* add swap_label_pairs in results

* revise according to comments

* revise according to comments

* revise according to comments

* docstring

* docstring
2022-10-17 23:21:20 +08:00
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
q.yao 7d075d1079
[Fix] Fix MPS ops for torch1.12+ (#2302) 2022-09-29 15:02:37 +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 936c193ed2
[Fix] Fix the calculation error of out_w in MaskedConv2dFunction (#2264)
* [Fix] Fix two intergers can not use / operator in torch1.6

* should not use kernel_h when calculates out_w
2022-09-21 16:05:05 +08:00
Zaida Zhou 2a82b52b8d
Update configs of circleci and github action (#2255)
* Update configs of circleci and github action

* fix base-revision

* remove psutil from ci

* fix ci

* update circleci

* update circleci

* fix typo

* fix typo

* fix typo

* fix ut

* install mmengine from main branch

* update github action

* update github action

* install git

* install git

* update ci

* update ci of merged stage

* fix typo

* fix typo

* fix onnx compilation error

* fix onnx compilation error

* use sudo to install packages

* fix onnx installation

* modify python version

* update

* install git in circleci

* use sudo

* install git

* update

* test on 2.x branch
2022-09-14 19:37:12 +08:00
Zaida Zhou 1f284fe2f0
Bump version to v2.0.0rc1 (#2240) 2022-08-30 20:30:03 +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
ChaimZhu 040658b798
[Fix] Fix features variable may be None in points sampler (#2234) 2022-08-29 17:02:28 +08:00
liuduanhui cdfbdc0bd1 [Feature] Support ThreeNN with cambricon MLU backend (#2215) 2022-08-28 17:54:20 +08:00
tudejiang79 b091e4d291 [Fix] Fix roi_align_rotated op of MLU (#2210)
* [Fix] roi_align_rotated codes

* [Fix]: fix code style

* [Fix]: fix code style

* [Fix]: fix code style
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
Yanhong Zeng 961373adf4
[Fix] cast the type of mask to enable training with amp (#2220) 2022-08-24 20:28:32 +08:00
Zaida Zhou c3835415ed
[Refactor] Modify the importing path due to mmengine changes (#2224) 2022-08-24 19:48:10 +08:00
Mashiro 5fdd246ab2
[Fix] Fix the log of two ops (#2221) 2022-08-23 14:16:22 +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