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
Jingwei Zhang
f6fd6c212f
[Fix] Fix a potential bug in prroipool op ( #2200 )
2022-08-18 19:20:57 +08:00
Jingwei Zhang
86f9dc7a40
[Enhance] Support different border modes in imrotate ( #2141 )
...
* support different border_mode in imrotate
* fix docstring
* small fix
* reorder the border_mode arg in imrotate
* fix lint
* polish docstring
* polish docstring
2022-08-18 19:20:57 +08:00
CokeDong
12406e2102
[Feature] Add ChamferDistance op for Parrots ( #2189 )
...
* Support Parrots extension for op ChamferDistance
* Fix lint
* Adapt op backward error of IntTensor for parrots
* Fix Lint
2022-08-18 19:20:57 +08:00
Zaida Zhou
2085d79ca9
Update CI ( #2180 )
...
* Install mmengine in CI
* fix
* fix version error
* update ci
2022-08-18 17:28:09 +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
Cedric Luo
47a61c3b82
[Fix] Fix init weights of MultiScaleDeformableAttention ( #2158 )
...
* fix tensors on different device
* fix lint
* Update mmcv/ops/multi_scale_deform_attn.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-08-01 14:12:45 +08:00
Zaida Zhou
fb7959624e
bump version to v2.0.0rc0 ( #2132 )
2022-07-19 23:19:05 +08:00
Zaida Zhou
521d0b0e6c
[Fix] Fix error in version.py ( #2133 )
2022-07-19 20:06:09 +08:00
Zaida Zhou
50485f225d
Update circleci config ( #2131 )
2022-07-19 19:18:16 +08:00
Yixiao Fang
e5c2cab583
[Refactor] Add pillow backend for ColorJitter related functions ( #2127 )
...
* add 'backend' for ColorJitter related functions
* add unittest
* fix unittest
* add bgr transpose and revise ut
* update unittest
* revise docstring
2022-07-19 19:18:16 +08:00
ly015
08bc449888
fix typo in RandomFlip.__repr__
2022-07-19 19:18:16 +08:00
plyfager
1a57a76be5
complete repr functions
2022-07-19 19:18:16 +08:00
liukuikun
f90567a091
[Fix] LoadImageFromFile
2022-07-19 19:18:16 +08:00
huanghaian
864942be2f
fix resize error
2022-07-19 19:18:16 +08:00
zhengmiao
29135c22ab
[Fix] Nearest interpolation to resize seg map
2022-07-19 19:18:16 +08:00
liyining
39eb4ec62b
Fix typos in processing.py
2022-07-19 19:18:16 +08:00
Ma Zerun
a1fb002269
[Refactor] Use `resize_type` instead of `resize_cfg` in `RandomResize` and `RandomChoiceResize`.
2022-07-19 19:18:16 +08:00
YuanLiuuuuuu
a03774d6db
[Refactor]: Grascale return uint8 type
2022-07-19 19:18:16 +08:00
YuanLiuuuuuu
5867a97a41
[Fix]: Fix random resize
2022-07-19 19:18:16 +08:00
ly015
eb3bd34c31
fix incorrect remapping of ellipsis
2022-07-19 19:18:16 +08:00
yangwendi.vendor
a7106c6bfe
[fix]:fix type hint in transforms
2022-07-19 19:18:16 +08:00
liyining
59eaefebe0
[Feature] Support partial mapping by manually marking keys as ignored
2022-07-19 19:18:16 +08:00
gongtao.vendor
3b494a1304
Support broadcasting all keys for TransformBroadcaster
2022-07-19 19:18:16 +08:00
liukuikun
88f3cc3f35
replace height, width with img_shape
2022-07-19 19:18:16 +08:00
gongtao.vendor
772069f216
Update loading.py
2022-07-19 19:18:16 +08:00
zhouzaida
96fff55cf2
minor fix
2022-07-19 19:18:16 +08:00
ZwwWayne
d59c3be9b6
Use mmengine registry and fix the LoadAnnotations not in registry
2022-07-19 19:18:16 +08:00
liukuikun
ab0aa4ef86
load type ( #1921 )
2022-07-19 19:18:16 +08:00
Yining Li
f59aec8ffb
[Feature] Add decorator `avoid_cache_randomness` ( #1864 )
...
* add prohibit_cache_randomness
* rename as avoid_cache_randomness and ensure it is non-inheritable
* fix lint
* update docs
2022-07-19 19:18:16 +08:00
Yifei Yang
ea84b67449
update scales and img_shape ( #1871 )
2022-07-19 19:18:16 +08:00
Yuan Liu
30b3844621
[Fix]: Update img_shape in resize related transform ( #1907 )
2022-07-19 19:18:16 +08:00
Yining Li
ff0dfb74d7
add RandomApply ( #1863 )
2022-07-19 19:18:16 +08:00
Yue Zhou
46cb4b108c
Add BaseTransform in __init__.py ( #1852 )
...
* Update __init__.py
* Update __init__.py
2022-07-19 19:18:16 +08:00
Ma Zerun
428512f88a
Rename `LoadAnnotation` to `LoadAnnotations` ( #1850 )
2022-07-19 19:18:16 +08:00
Yifei Yang
b7525fae1e
[Fix] Fix typos, init funcs, cacheable method of part3 of data transforms ( #1784 )
...
* fix typos and move args into cfg
* update docstring
* fix as comment
* fix lint
* update transforms as discussed before
* linting
* fix as comment
* fix lint
* fix lint and also update according to PackInput
* remove precommit change
* rename cacheable method
Co-authored-by: liukuikun <641417025@qq.com>
2022-07-19 19:18:16 +08:00
liukuikun
e7592a70f2
[Fix] fix some typo in transforms ( #1831 )
...
* [Fix] fix some typo according to review
* fix comment
2022-07-19 19:18:16 +08:00
Yining Li
e2ca0733c6
Refactor base transform ( #1830 )
...
* rename cacheable_method to cache_randomness
* refactor transform wrappers and update docs
* fix all_nonexist_keys
* fix lint
* rename transform wrappers
2022-07-19 19:18:16 +08:00
Yuan Liu
0a5b412509
[Feature]: Reformat resize config ( #1826 )
...
* [Feature]: Add cache to random func in data transform
* [Fix]: Fix lint
* [Fix]: Fix cache decorate problem
* [Refactor]: Initialize Resize with config
* [Refactor]: Move other resize config into Resize config
* [Fix]: Scale can not be None in RandomResize
* [Fix]: Change semantic seg to gt seg map
* [Fix]: Delete unnecessary assert
* [Fix]: Fix docstring
* [Fix]: Add double quot to Resize in config
* [Fix]: Fix the return type
* [Fix]: Improve docstring
* [Fix]: Specify the order of width and height for ratio range
* [Fix]: Specify resize order
Co-authored-by: Your <you@example.com>
2022-07-19 19:18:16 +08:00
Yifei Yang
2844a11631
[Fix] Fix MultiScaleFlipAug ( #1801 )
...
* Fix MultiScaleFlipAug
* fix as comment
2022-07-19 19:18:16 +08:00
Yifei Yang
169f098d82
[Fix] Set keypoints not in the cropped image invisible ( #1804 )
...
* set invisiblity
* fix as comment
2022-07-19 19:18:16 +08:00
Yining Li
6534efd6ca
[Fix] Add @cacheable_method in transform wrapper `RandomChoice` ( #1807 )
...
* add @cacheable_methd in RandomChoice
* RandomChoice add __iter__() and fix unittest
2022-07-19 19:18:16 +08:00
Yifei Yang
2f85d78149
[Enhancement] Enhance CenterCrop ( #1765 )
...
* enhance centercrop and adjust crop size to (w, h)
* fix comments
* update required keys and docstring
2022-07-19 19:18:16 +08:00