Commit Graph

821 Commits (be1be020271997d38fbfa7fa2a97fbe34c322407)
 

Author SHA1 Message Date
Zaida Zhou be1be02027
Show supported python versions in README (#1286) 2021-08-23 10:35:22 +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 259ea5f63f
fix typo (#1285) 2021-08-21 11:48:40 +08:00
shlrao ac0d8398bf
fix nms implentation of cpu (#1244) 2021-08-19 11:12:33 +08:00
Zaida Zhou 9c58d9e750
Fix typo (#1280)
* fix typo

* fix typo
2021-08-19 10:04:54 +08:00
lizz 81777d1213
Use more cpus in building (#1046)
* Use more cpus in building

Signed-off-by: lizz <lizz@sensetime.com>

* Add psutil to requirements

Signed-off-by: lizz <lizz@sensetime.com>

* fix

Signed-off-by: lizz <lizz@sensetime.com>

* fix

Signed-off-by: lizz <lizz@sensetime.com>

* Hope faster

Signed-off-by: lizz <lizz@sensetime.com>

* fix macos

Signed-off-by: lizz <lizz@sensetime.com>
2021-08-18 19:37:18 +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
q.yao 44edcdd91f
add onnx namespace for custom ops (#1254) 2021-08-16 15:57:13 +08:00
Zaida Zhou 54907a3922
fix typo, close #1260 (#1263) 2021-08-12 16:59:39 +08:00
Zaida Zhou d48020bd78
bump version to v1.3.11 (#1259) 2021-08-11 23:21:08 +08:00
Zaida Zhou 846d3a4ac6
[Fix] Fix the bug that the training log and evaluating log are mixed (#1252)
* [Fix] Fix the bug that training log and evaluating log are mixed

* [Fix] Fix the bug that training log and evaluating log are mixed

* fix comment

* fix import error

* refactor

* refactor

* refactor

* clear log_buffer before evaluation

* fix error

* add unittest
2021-08-11 22:41:21 +08:00
Shilong Zhang 18c64d5fb0
Fix potential bugs of basemodule when record the initilization information (#1217)
* add logger for init

* change init_info of oevrload init_weight

* add judgement for params_init_info

* add delete comments for params_init_info

* add docstr and more comments

* add docstr and more comments

* resolve comments

* dump to a file

* add unitest

* fix unitest

* fix unitest

* write to ori log

* fix typo

* resolve commnets

* fix call initweights twice in topmost module

* fix the potential bug of recursive import

* fix unitest

* fix potiential bugs

* remove unneccesary change

* add more unitest

* fix add param in initweights

* add more comments

* raise error

* add more detail assert error
2021-08-11 22:05:44 +08:00
Zaida Zhou b5a4bbd000
[Fix] Remove model.pth (#1255) 2021-08-11 15:59:49 +08:00
Haodong Duan 93418560d8
[Fix] Do not depend on setuptools>=52 (#1235)
* use packaging instead

* update

* update

* update

* update
2021-08-10 16:17:59 +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
Zaida Zhou 9fa5de8b9b
[Enhancement] Speed up mmcv import (#1249)
* [Enhancement] Speed import mmcv

* fix missing parse_version

* fix circle dependency

* rename
2021-08-10 15:08:00 +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
Jerry Jiarui XU c47c9196d0
[Docs] Add header for files (#1181)
* [Docs] Add header for files

* change to OpenMMLab

* add headers for .cpp, .cu, .h, .cuh

* replace Open-MMLab with OpenMMLab
2021-08-08 22:10:55 +08:00
Zaida Zhou 04daea425b
Output pdf and epub formats for readthedocsfix typo (#1237) 2021-08-03 11:18:01 +08:00
Zaida Zhou 285a052ab7
fix typo (#1233) 2021-08-02 09:56:52 +08:00
Shilong Zhang eaebb30637
fix dcn forward and backward when batchsize is larger than im2col_step (#1212) 2021-08-01 20:06:09 +08:00
Zaida Zhou 571e3e5fc7
[Fix] Fix CI of deploy (#1220) 2021-07-28 09:25:42 +08:00
Zaida Zhou 88d8c9ef1d
bump version to v1.3.10 (#1214) 2021-07-23 21:23:08 +08:00
ddonatien 0a375614ca
Prevent kernal_normalizer to change mask dtype (#1210) 2021-07-23 21:08:58 +08:00
Shilong Zhang 17fa6670eb
[Features] Add logger for initialization of parameters (#1150)
* add logger for init

* change init_info of oevrload init_weight

* add judgement for params_init_info

* add delete comments for params_init_info

* add docstr and more comments

* add docstr and more comments

* resolve comments

* dump to a file

* add unitest

* fix unitest

* fix unitest

* write to ori log

* fix typo

* resolve commnets
2021-07-23 21:07:54 +08:00
Haodong Duan ef48a47389
[Improvement] Improve digit_version & use it for version_checking (#1185)
* improve digit_version & use it for version_checking

* more testing for digit_version

* setuptools >= 50 is needed

* fix CI

* add debuging log

* >= to ==

* fix lint

* remove

* add failure case

* replace

* fix

* consider TORCH_VERSION == 'parrots'

* add unittest

* digit_version do not deal with the case if 'parrots' in version name.
2021-07-23 21:03:33 +08:00
Jintao Lin c06be0d58a
Add TERMINOLOGY.md (#895)
* add TERMINOLOGY.md

* Update TERMINOLOGY.md

* Update TERMINOLOGY.md

* update
2021-07-22 10:01:51 +08:00
Qizhu Li 261618f4a4
Resolves the duplicate logs issue (#1164) 2021-07-20 18:33:27 +08:00
Zaida Zhou 74626ecea3
[Fix] Fix example (#1074)
* [Fix] Fix example

* rename Net to Model

* support training without gpu in example

* modify according to comment

* replace data path with relative path
2021-07-20 17:18:52 +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
Gu Wang 025ee9f5e6
[Feature] Add flat cosine lr updater (#1066)
* add flat cosine lr updater

* add test

* add doc

* update doc

* reformat

* update unittest

* update test flat cos

* remove momentum hook test

* update test

* change assert to ValueError

* fix unittest

* add by_epoch=True unittest

* change to start_percent

* change to start_percent in test
2021-07-20 17:16:50 +08:00
007gzs f860d0edea
[Fix] Fix floor/ceil error in deform_attn for windows (#1037)
* windows build doc

* fix floor ceil

* fix lint

* change floor/ceil to floorf/ceilf

* Update build.md

* recover onnx and parrots

* fix clang-lint

Co-authored-by: WRH <12756472+wangruohui@users.noreply.github.com>
2021-07-20 17:15:41 +08:00
Rui Xu faf6c6cd8e
[Enhancement] Revise the interface of upfirdn2d function (#1195)
* revise the interface of upfirdn2d function

* adopt to_2tuple
2021-07-20 17:12:02 +08:00
q.yao 5f9e6b610b
[Feature] Add ONNX export support to torch.roll (#1194)
* add torch.roll to onnx

* remove skip test

* add support to torch<170

* add dim=0 for torch==1.9.0

* update fixture function name, add comment in roll symbolic
2021-07-20 16:54:04 +08:00
Ma Zerun 366c628a85
[Fix] Fix potential interger overflow in `imequalize`. (#1198)
* Fix potential interger overflow in `imequalize`.

* Modify imequalize unit test image size to generate potential integer
overflow.
2021-07-14 21:03:06 +08:00
Ma Zerun 6659c38dd5
[Feature] Add `is_tracing` to wrap `torch.jit.is_tracing` in different versions. (#1187)
* Add `is_tracing` to wrap `torch.jit.is_tracing` in different versions.

* Remame `is_tracing` to `is_jit_tracing`

* Ignore `is_jit_tracing` tests in CI.
2021-07-13 14:42:50 +08:00
Junjun2016 c3ddcf9d38
[Fix] Fix typos (#1196)
* fix typos

* fix typos
2021-07-13 14:31:26 +08:00
Ma Zerun a5684b0de2
[Feature]: Support custom hooks in IterBasedRunner. (#1193) 2021-07-13 14:09:56 +08:00
Ye Liu 44e19ff68c
[Feature]: Register CrissCrossAttention into plugin layers (#1189) 2021-07-13 14:08:57 +08:00
Zaida Zhou 96c4b70ccb
bump version to v1.3.9 (#1188) 2021-07-09 21:39:40 +08:00
qjqfl 07d681ac00
[Feature]: support tensorrt custom plugin `MMCVCornerPool` (#1179) 2021-07-09 21:07:38 +08:00
Y_Xuan 2dc0a219c1
[Feature] Porting mmcv for hip (#1022)
* porting mmcv for hip

* add nvcc

* fix format

* fix format

* fix bug for carafe

* fix test_utils because rocm_torch not allow set torch.backends.cudnn.benchmark to false

* add LOOSEVERSION

* fix format

* fix format of version

* fix code format

* test for yaml

* fix bug for citest

* fix bug for how to get torch._version_ at setup.py
2021-07-09 21:02:10 +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 0cbe5f4c84
[Fix] Fix sphinx compile error (#1176)
* [Docs] Fix sphinx version

* [Docs] Remove sphinx_markdown_tables

* update readme link

* add sphinx_rtd_theme package
2021-07-07 13:09:04 +08:00
RangiLyu 31b8829de8
Add pretrained mmdet/mobilenet_v2 (#1177) 2021-07-07 09:10:15 +08:00
Zaida Zhou 23d7fc83cb
add CI for pt1.8 pt1.9 (#1141)
* add ci for pt1.8 pt1.9

* remove cp command

* change cuda verison

* fix typo

* fix ci

* fix typo
2021-07-06 15:40:56 +08:00
Zaida Zhou 4a9f83467c
[Fix] Fix unittest in pt1.9 (#1146)
* fix test.txt

* fix unittest in pt1.9

* fix checkpoint filename error

* add comment

* fix unittest

* fix onnxruntime version
2021-07-03 20:47:22 +08:00
Zaida Zhou 6c63621a86
[Docs] Fix typo (#1166) 2021-07-03 16:05:31 +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