Releases: open-mmlab/mmcv
MMCV Release V1.6.2
Features
- Register a new activation layer
SiLU
to ACTIVATION_LAYERS (#2256) - Add support of TorchVision's Model Registration API (#2246)
- Add five MLU ops, which are CARAFEcarafe, MaskedConv2d, ThreeNN, DeformRoiPool, and RoipointPool3d (#2212, #2202, #2215, #2137,#2247)
Improvements
- Add support for logging parameters to
MlflowLoggerHook
(#2188) - Add a new argument
params
toMlflowLoggerHook
(#2193) - Support different border modes in
imrotate
(#2141) - Add pillow backend for ColorJitter related functions (#2127)
Bug fixes
- Fix unit tests of onnx (#2155)
- Fix cumulative gradient optimizer when resuming (#2093)
- Path mapping only once in storage backends (#2204)
- Fix RoiAlignRotated MLU implementation (#2210)
- Fix a potential bug in PrRoIPool op (#2200)
- Fix spconv clang-format (#2260)
- Remove the restrictions of onnx versions (#2251)
- Fix
init_weights
of MultiScaleDeformableAttention (#2158) - Cast the type of mask in ModulatedDeformConv2dFunction to enable training with AMP (#2220)
- Fix the calculation error of out_w in MaskedConv2dFunction (#2264)
- Fix ROCm backend support (#1918)
Documentations
- Limit sphinx_markdown_tables and markdown versions (#2144)
- Add
swith_language.md
in docs (#2160) - Fix the example error in
registry.md
(#2243) - Add zhihu articles (#2157)
- Fix some mistakes in
data_process.md
(#2283)
Others
- Add type hints for mmcv/image (#2089)
New Contributors
- @gfyts0123 made their first contribution in #2103
- @xcnick made their first contribution in #2155
- @eivtho made their first contribution in #2188
- @CokeDong made their first contribution in #2189
- @tudejiang79 made their first contribution in #2210
- @DanieeelLiu made their first contribution in #2215
- @PungTeng made their first contribution in #2243
- @ZShaopeng made their first contribution in #2247
- @zstreet87 made their first contribution in #1918
- @okotaku made their first contribution in #2256
- @datumbox made their first contribution in #2246
Full Changelog: v1.6.1...v1.6.2
MMCV Release V2.0.0rc1
Highlights
Starting from mmcv v2.0.0rc1, mmcv removes training process related modules such as Runner, Hook, Parallel, which will be provided by MMEngine. In addition, in v2.0.0rc1, mmcv added many data augmentation methods, such as CenterCrop
.
MMCV Release V1.6.1
😀 We are glad to announce that we are providing the mmcv-full pre-built packages for PyTorch 1.12.0 starting from v1.6.0.
pip install -U openmim
mim install mmcv-full
Features
Improvements
- Improve ProfilerHook behavior when using a relative (or empty) dir_name (#2119)
Documentations
Others
- Add
.pre-commit-config-zh-cn.yaml
to speed uppre-commit
in some cases
Contributors
A total of 6 developers contributed to this release.
@JingweiZhang12 @grimoire @zhouzaida @GPhilo @0Reza @Happylkx
New Contributors
- @Happylkx made their first contribution in #2120
- @0Reza made their first contribution in #2124
- @GPhilo made their first contribution in #2119
- @JingweiZhang12 made their first contribution in #2113
Full Changelog: v1.6.0...v1.6.1
MMCV Release V1.6.0
😀 We are glad to announce that we are providing the mmcv-full pre-built packages for PyTorch 1.12.0 starting from v1.6.0.
pip install -U openmim
mim install mmcv-full
Features
Improvements
- Add torch_meshgrid wrapper due to PyTorch change (#2044)
- Add
_run_ddp_forward
method forMMDistributedDataParallel
to be compatible with PyTorch1.12 (#2107)
Bug fixes
- Fix name error in trt_deform_conv.cpp (#2075)
- Add torchvision_0.12.json for testing torchvision0.13 (#2084)
- Fix num_channels in test_build_norm_layer which can not be divisible by num_groups (#2085)
- Fix index error when using multi-samplers strategy (#2094)
- Fix undefined variable error in pixel_group.cpp (#2104)
Type Hints
#2031 #1991 #2003 #1995 #1993 #2030 #2002
Documentations
Contributors
A total of 14 developers contributed to this release.
@imabackstabber @triple-Mu @HAOCHENYE @zhouzaida @ZwwWayne @pallgeuer @triwahyuu @ytzhao @WINDSKY45 @EvelynWang-0423 @grimoire @zcyKTH @zhangtingyu11 @ychfan
MMCV Release V1.5.3
Features
Bug fixes
- Fix protobuf compatible error (#1992)
- Include torchvision_12.json in the sdist package (#2039)
- make iou3d.boxes_iou3d actually calculate 3D IoU (#2018)
- Fix batched_nms for rotated box and add type hints for nms.py (#2006)
Type Hints
Thanks to contributors for their efforts, mmcv has added type hints, which makes the code more readable. Here are all the pull requests of adding type hints.
#1981 #1989 #1998 #1985 #1987 #1983 #2005 #1988 #2013 #2007 #2015 #2017 #2001 #2019 #2021 #2023 #2000 #2026 #1997 #2029 #2016 #2008 #2031 #1982 #1994 #1999 #2020 #2037 #2034 #1996 #2050
Documentations
Contributors
A total of 22 developers contributed to this release.
@RangeKing @gy-7 @triple-Mu @ytzhao @zengxiang68 @yangrisheng @WINDSKY45 @ShawnHXH @vansin @HarborYuan
@tcexeexe @luopeichao @zcyKTH @filaPro @nxznm @liuyanyi @grimoire @zhouzaida @HAOCHENYE @ZwwWayne @teamwong111 @imabackstabber
MMCV Release V1.5.2
Improvements
- Lower the restrictions of _resize method in BaseMergeCell (#1959)
- Replace BEV IoU with 3D IoU (#1902)
- Hook can get
data_batch
from Runner (#1940) - Add pyupgrade pre-commit hook (#1937)
Bug fixes
- Fix bbox overlap fp16 (#1958)
- Skip CPU test in test_rotated_feature_align.py for parrots (#1968)
- Fix is_module_wrapper (#1900)
- Fix the problem that the instance cannot be reused when overwriting the file client (#1747)
Documentations
- Replace markdownlint with mdformat for avoiding installing ruby (#1936)
- Fix failed links in docs/zh_cn/faq.md (#1964)
- Fix docstrings in EvalHook (#1978)
Notes
Since PyTorch 1.11.0 has been released and we have provided the mmcv-full pre-compiled packages for it, we no longer provide them compiled with PyTorch 1.3 & 1.4 since v1.3.17. You can find previous versions compiled with PyTorch 1.3 & 1.4 here. The compatibility is still ensured in our CI, but we will discard the support of PyTorch 1.3 & 1.4 this year.
Contributors
A total of 14 developers contributed to this release.
@grimoire @teamwong111 @zhouzaida @JarvisKevin @HAOCHENYE @jshilong @filaPro @HIT-cwh @hhaAndroid @ZwwWayne @Tai-Wang @274869388 @wlf-darkmatter @imabackstabber
MMCV Release V1.5.1
Features
- Added
ClearMLLoggerHook
(#1906) - Added rotated_feature_align cpu & onnxruntime implementations (#1878)
- Supports registering function (#1858)
- Added
adjust_hue
(#1628) - Added a script to visualize lr (#1667)
Improvements
- Speeds up bbox_overlaps op (#1718)
- Added support for latest Pillow resampling filter naming scheme (#1931)
Bug fixes
- Fixed
collec_env()
encoding error on Windows (#1905) - Fixed
dump
method of Config (#1837) - Fixed bbox_overlaps unit tests (#1914)
- Ensures the type of filename parameter in Config is str (#1725)
- Fixed nms rotate illegal memory access (#1891)
- Fixed LmdbBackend which could not pickle env obj (#1764)
- Fixed type annotations in file_client (#1942)
- Fixed bbox overlap fp16 (#1958)
Documentations
Contributors
A total of 18 developers contributed to this release.
@imabackstabber @akravchuk97 @SuTanTank @grimoire @teamwong111 @HuDi2018 @WilliamKyle @luopeichao @274869388 @bryandeng @tehkillerbee @cuhk-hbsun @jmercat @triple-Mu @sundongwei @teamwong111 @ZwwWayne @zhouzaida
MMCV Release V1.5.0
Features
- Support training on IPU chip (#1882)
- Support training on MLU chip (#1770, #1563,#1884,#1885,#1881)
- Support for linearly learning rate decay (#1627)
Improvements
- Optimize correlation (#1814)
- Speed up Registry initialization (#1844)
- NMS with CUDA only (#1824)
- Add a differentiable rotated IoU op (#1854)
- Support passing None to DictAction (#1834)
- Enhance get_torchvision_models (#1867)
Bug fixes
- Fix Python3.10 CI (#1828)
- Fix
collect_env()
in Windows (#1789, #1887) - Fix sparse_conv unit test by releasing cache on GPU (#1872)
- Fix unexpected keyword argument for GELU (#1847)
- Fix potential negative padding size (#1792)
- Fix version comparison to include prerelease versions (#1877)
Documentations
Notes
Since PyTorch 1.11.0 has been released and we have provided the mmcv-full pre-compiled packages for it, we no longer provide them compiled with PyTorch 1.3 & 1.4 since v1.3.17. You can find previous versions compiled with PyTorch 1.3 & 1.4 here. The compatibility is still ensured in our CI, but we will discard the support of PyTorch 1.3 & 1.4 this year.
Contributors
A total of 29 developers contributed to this release.
@wulele2 @Sharpiless @RockeyCoss @teamwong111 @SuTanTank @grimoire @MeowZheng @triple-Mu @astahlman @Qiza-lyhm @daydayfun @VVsssssk @Charlyo @filaPro @zytx121 @DCNSW @luopeichao @gaotongxiao @yushinliu @zihanchang11 @raoshenglong @zcyKTH @Mrxiaofei @HuDi2018 @vakker @zhouzaida @ZwwWayne @HAOCHENYE @imabackstabber
MMCV Release V1.4.8
😀 We are glad to announce that we are providing the mmcv-full pre-built packages for torch1.11.0 starting from v1.4.7.
# pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cu_version}/{torch_version}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu115/torch1.11/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.11/index.html
# PyTorch does not provide pre-built packages for cu102 on Windows, so does mmcv-full
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.11/index.html
Features
- Config ignores imported modules and functions (#1802)
- Implemented
corner pool
with python for torch<1.5 (#1772)
Improvements
Bug fixes
- Fix ROCm support (#1704)
- Fix MultiScaleDeformableAttention (#1823)
- Fix voxelization bug (#1822)
- Fix error cased by
_sync_params
which was renamed in torch1.11.0 (#1816)
Documentations
- Add more Windows information in README (#1829)
Notes
Since PyTorch 1.10.0 has been released and we have provided the mmcv-full pre-compiled packages for it, we no longer provide them compiled with PyTorch 1.3 & 1.4 since v1.3.17. You can find previous versions compiled with PyTorch 1.3 & 1.4 here. The compatibility is still ensured in our CI, but we will discard the support of PyTorch 1.3 & 1.4 this year.
Contributors
A total of 12 developers contributed to this release.
@SuTanTank @VVsssssk @wHao-Wu @grimoire @jshilong @zhanggefan @luopeichao @imabackstabber @HAOCHENYE @zhouzaida @ZwwWayne @teamwong111
MMCV Release V1.4.7
😀 We are glad to announce that we are providing the mmcv-full pre-built packages for torch1.11.0 starting from v1.4.7.
# pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cu_version}/{torch_version}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu115/torch1.11/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.11/index.html
# PyTorch does not provide pre-built packages for cu102 on Windows, so does mmcv-full
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.11/index.html
Features
- Add
SegmindLoggerHook
(#1650) - Config supports shallow copy (#1796)
- Support fp16 training for
gather_points
op (#1758) - Add non-deterministic voxelization op from mmdet3d (#1783)
- Add
worker_init_fn
helper function to initialize dataloader workers (#1788)
Bug fixes
- Fix deconv_flops_counter_hook (#1760)
- Fix deform_conv inconsistent pybind (#1781)
- Fix ProfilerHook when using IterBasedRunner (#1755)
- Include spconv header files in the sdist package (#1766)
- Fix bugs in DynamicScatter and Voxelization ops (#1748, #1746)
Documentations
- Fix typos in config.md, cnn.md and data_process.md (#1797, #1798, #1799)
- Fix a wrong example in
DefaultOptimizerConstructor
(#1795)
Deprecations
- Add deprecated warning of deployment (#1750)
Others
- Add copyright pre-commit-hook (#1742)
- Reorganize OpenMMLab projects in README.md (#1744)
- Fix typo in conv.py (#1759)
- Add .owners.yml to dispatch daily issue (#1775)
- Add PyTorch1.11.0 CI (#1800)
Notes
Since PyTorch 1.10.0 has been released and we have provided the mmcv-full pre-compiled packages for it, we no longer provide them compiled with PyTorch 1.3 & 1.4 since v1.3.17. You can find previous versions compiled with PyTorch 1.3 & 1.4 here. The compatibility is still ensured in our CI, but we will discard the support of PyTorch 1.3 & 1.4 this year.
Contributors
A total of 15 developers contributed to this release.
@saurbhc @XiwuChen @Xiangxu-0103 @SuTanTank @imflash217 @wangruohui @imabackstabber @del-zhenwu @gaotongxiao @HAOCHENYE @zhouzaida @RunningLeon @ZwwWayne @wHao-Wu @teamwong111