Recent Releases of mmcv
mmcv - v2.2.0
What's Changed
- [Feature] Add the support of BallQuery op for Ascend device by @Ginray in https://github.com/open-mmlab/mmcv/pull/2963
- [Feature] Add the support of three_interpolate op for Ascend device by @lihao7212148 in https://github.com/open-mmlab/mmcv/pull/2962
- Update version info by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2966
- [Docs] Add api reference table by @fanqiNO1 in https://github.com/open-mmlab/mmcv/pull/2971
- [Fix] Fix deformconv.py for torchnpu v2.1 by @shun001 in https://github.com/open-mmlab/mmcv/pull/2967
- DIOPI adapt codes for npu device by @CokeDong in https://github.com/open-mmlab/mmcv/pull/2973
- [Fix] Fix modulateddeformconv.py for torch_npu v2.1 by @shun001 in https://github.com/open-mmlab/mmcv/pull/2983
- [Feature] Add NPU operator RotatedFeatureAlign by @huaweiZJX in https://github.com/open-mmlab/mmcv/pull/2994
- torch_npu support aclnn and add op by @momo609 in https://github.com/open-mmlab/mmcv/pull/2998
- [Feature] Add the support for stackgrouppoints ops with Ascend by @673958639 in https://github.com/open-mmlab/mmcv/pull/3023
- Fix ut of stackgroupingpoints by @673958639 in https://github.com/open-mmlab/mmcv/pull/3026
- Add multiscaledeform_attn op adapter for NPU. by @DaGaiBa in https://github.com/open-mmlab/mmcv/pull/3032
- add multiscaledeformattngrad op adapter for NPU by @RRaoyzee in https://github.com/open-mmlab/mmcv/pull/3042
- Bump version to 2.2.0 by @HAOCHENYE in https://github.com/open-mmlab/mmcv/pull/3087
- add multi npu op by @momo609 in https://github.com/open-mmlab/mmcv/pull/3085
New Contributors
- @lihao7212148 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2962
- @fanqiNO1 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2971
- @shun001 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2967
- @huaweiZJX made their first contribution in https://github.com/open-mmlab/mmcv/pull/2994
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v2.1.0...v2.2.0
- Python
Published by HAOCHENYE almost 2 years ago
mmcv - MMCV Releases v1.7.2
😀 We are glad to announce that we are providing the mmcv-full pre-built packages for PyTorch 2.1.0 and 2.0.0 starting from MMCV v1.7.2.
bash
pip install -U openmim
mim install mmcv-full
Features
- Support DCNv1 on Ascend device by @MiniTIckW in https://github.com/open-mmlab/mmcv/pull/2480
- Support PSAMask op for Ascend device by @DaGaiBa in https://github.com/open-mmlab/mmcv/pull/2487
- Support Voxelization with cambricon MLU device by @ZShaopeng in https://github.com/open-mmlab/mmcv/pull/2500
- Add Ascend support for RoIPool op by @momo609 in https://github.com/open-mmlab/mmcv/pull/2483
- Add MLU support for DCN by @mengpenghui in https://github.com/open-mmlab/mmcv/pull/2540
- Add support for Ascend devices with gather_points by @zcc-zjut in https://github.com/open-mmlab/mmcv/pull/2555
- Add ops bbox_overlaps by @enemy1205 in https://github.com/open-mmlab/mmcv/pull/2477
- Support ball_query with cambricon MLU backend and mlu-ops library. by @DanieeelLiu in https://github.com/open-mmlab/mmcv/pull/2520
- Add support for Ascend devices with nms_rotated by @ckirchhoff2021 in https://github.com/open-mmlab/mmcv/pull/2550
- Add Ascend support for RoIPoolGrad op by @xinlianglalala in https://github.com/open-mmlab/mmcv/pull/2569
- Add bbox_overlaps npu adapter by @dflhw in https://github.com/open-mmlab/mmcv/pull/2580
- msdeformattn performance optimization by @Wickyzheng in https://github.com/open-mmlab/mmcv/pull/2616
- Add the support of voxelization op for ascend device by @dflhw in https://github.com/open-mmlab/mmcv/pull/2613
- Make voxelization operator support the mlu290 platform. by @mahxn0 in https://github.com/open-mmlab/mmcv/pull/2652
- Add Ascend support for RoIAlign op by @momo609 in https://github.com/open-mmlab/mmcv/pull/2638
- Add MLU support for Sparse Convolution op by @duzekunKTH in https://github.com/open-mmlab/mmcv/pull/2589
- Add the support of arf op for ascend device by @dflhw in https://github.com/open-mmlab/mmcv/pull/2789 *Sync replace by @defei-coder in https://github.com/open-mmlab/mmcv/pull/2750
- Add the implementation of diffiourotated with mlu-ops by @Danielmic in https://github.com/open-mmlab/mmcv/pull/2852
- Add the implementation of dynamic_scatter with mlu-ops (#2847) by @Danielmic in https://github.com/open-mmlab/mmcv/pull/2853
- Add support of pointsinpolyogns for Ascend device by @long11111111 in https://github.com/open-mmlab/mmcv/pull/2864
- Add the support of BoxIouRotated op for ascend device by @MrShadowY in https://github.com/open-mmlab/mmcv/pull/2854
- Replace the implementation of deformroipool with mlu-ops by @defei-coder in https://github.com/open-mmlab/mmcv/pull/2598
- Add torch_npu optimizer by @luomaoling in https://github.com/open-mmlab/mmcv/pull/2753
- Add missing contiguous calls for nms_rotated by @allanzelener in https://github.com/open-mmlab/mmcv/pull/2547
- Support NmsRotated with cambricon MLU backend by @liuyuan1-v in https://github.com/open-mmlab/mmcv/pull/2643
- Add the implementation of boxiourotated with mlu-ops. by @ZhangLearning in https://github.com/open-mmlab/mmcv/pull/2703
- Modify adaptation of bbox_overlaps op for ascend device by @dflhw in https://github.com/open-mmlab/mmcv/pull/2697
- Support torch_npu v2.1 by @momo609 in https://github.com/open-mmlab/mmcv/pull/2943
- DvcliveLoggerHook: use
by_epochfor determining when to log. by @daavoo in https://github.com/open-mmlab/mmcv/pull/2149 - Support MultiScaleDeformableAttention with AMP by @nijkah in **https://github.com/open-mmlab/mmcv/pull/2541
Enhancements
- Replace the implementation of three_nn with mlu-ops by @DanieeelLiu in https://github.com/open-mmlab/mmcv/pull/2719
- Repalce the implementation of roiaware_pool3d with mlu-ops. by @ZhangLearning in https://github.com/open-mmlab/mmcv/pull/2699
- Refactor the issue templates by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2585
- Remove unused files by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2586
- The argument scale of fusedbiasleakyrelu should be greater than 0 by @jayggh in https://github.com/open-mmlab/mmcv/pull/2623
- Replace carafe op of MLU backend with mlu-ops by @qipengh in https://github.com/open-mmlab/mmcv/pull/2818
- Replace the implementation of psa_mask with mlu-ops. by @DanieeelLiu in https://github.com/open-mmlab/mmcv/pull/2756
- Repalce the implementation of rotatedfeaturealign with ml… by @tudejiang79 in https://github.com/open-mmlab/mmcv/pull/2659
- Repalce the implementation of roialignrotated with mlu-ops by @tudejiang79 in https://github.com/open-mmlab/mmcv/pull/2657
- Simplify the logic of sparse_conv by @duzekunKTH in https://github.com/open-mmlab/mmcv/pull/2683
- Replace bbox_overlaps op of MLU backend with mlu-ops by @qirun-uiuc in https://github.com/open-mmlab/mmcv/pull/2880
- Replace focallosssigmoid op of MLU backend with mlu-ops by @qirun-uiuc in https://github.com/open-mmlab/mmcv/pull/2877
- Replace roipoint_pool3d op of MLU backend with mlu-ops by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2876
- Replace tin_shift op of MLU backend with mlu-ops by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2911
- Add torch mluops check before call mluOpsxxx interface by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2874
- Refine the implementation of NMS op in Ascend device by @momo609 in https://github.com/open-mmlab/mmcv/pull/2658
- Optimize the performace of msdeformattn for MLU device by @Wickyzheng in https://github.com/open-mmlab/mmcv/pull/2510
- Update parrots image by @CokeDong in https://github.com/open-mmlab/mmcv/pull/2522
- Add AMP support for MLU_DCNv2 by @mengpenghui in https://github.com/open-mmlab/mmcv/pull/2548
- Use official isort by @triple-Mu in https://github.com/open-mmlab/mmcv/pull/2574
- Increase the dtype limit to maintain consistency with the gpu. by @momo609 in https://github.com/open-mmlab/mmcv/pull/2724
- Add a comment for the use of masked_conv on Ascend device by @zcc9707 in https://github.com/open-mmlab/mmcv/pull/2689
- Ignore mlu-ops files by @defei-coder in https://github.com/open-mmlab/mmcv/pull/2691
- Delete yapf verify by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2944
- Add a default value for MMCVMLUARGS by @defei-coder in https://github.com/open-mmlab/mmcv/pull/2688
Bug Fixes
- Fix a typo in runner/hooks/evaluation.py by @jamiechoi1995 in https://github.com/open-mmlab/mmcv/pull/2523
- Fix c++/cuda lint failed by @HAOCHENYE in https://github.com/open-mmlab/mmcv/pull/2528
- Fix CI failed caused by 'Python.h' not found by @ice-tong in https://github.com/open-mmlab/mmcv/pull/2530
- Fix a dilation bug of MLU-DCNv2 and add limitation of torchvision by @mengpenghui in https://github.com/open-mmlab/mmcv/pull/2519
- Check the version of torchvision in init of DCN by @mengpenghui in https://github.com/open-mmlab/mmcv/pull/2556
- Fix typo in docstring by @HAOCHENYE in https://github.com/open-mmlab/mmcv/pull/2549
- Fix the parameter error of DeformableRoiPool in Ascend device by @dflhw in https://github.com/open-mmlab/mmcv/pull/2546
- Upgrade the version of isort to fix lint error by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2572
- Fix tensor descriptor setting in MLU ball_query. by @DanieeelLiu in https://github.com/open-mmlab/mmcv/pull/2579
- Fix a typo in the docstring of MSDeformAttn by @nijkah in https://github.com/open-mmlab/mmcv/pull/2599
- Fix the paper link error in the docstring by @BainOuO in https://github.com/open-mmlab/mmcv/pull/2618
- Prevent divide-by-zero error on Ascend device for bbox_overlaps by @dflhw in https://github.com/open-mmlab/mmcv/pull/2644
- Fix boxes.scalartype in nmsnpu by @momo609 in https://github.com/open-mmlab/mmcv/pull/2731
- Fix torch 1.8 adpater npu bug by @momo609 in https://github.com/open-mmlab/mmcv/pull/2970
- Fix npu optim by @luomaoling in https://github.com/open-mmlab/mmcv/pull/2766
- Keep the shape value of ascend iou op's parameter 2 smaller than parameter 1 by @dflhw in https://github.com/open-mmlab/mmcv/pull/2820
- Fix arf op's write conflict when num_orientations is not 1 by @dflhw in https://github.com/open-mmlab/mmcv/pull/2822
- Revert "[Fix] Fix arf op's write conflict when num_orientations is not 1" by @dflhw in https://github.com/open-mmlab/mmcv/pull/2826
- Fix deform_conv ops on Ascend NPU by @Ginray in https://github.com/open-mmlab/mmcv/pull/2805
- fix format error in roialignrotated by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2886
- Update mlu-ops version by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2922
- nmsrotatednpu accept angle parameter by @18251968697 in https://github.com/open-mmlab/mmcv/pull/2670
- Move voxel_size to the device where points are by @dflhw in https://github.com/open-mmlab/mmcv/pull/2681
- Fix parrots bbox_overlaps by @CokeDong in https://github.com/open-mmlab/mmcv/pull/2684
Others
- Refine the docstring of EvalHook by @Yan-Daojiang in https://github.com/open-mmlab/mmcv/pull/2576
- Steps to compile mmcv-full on MLU machine by @defei-coder in https://github.com/open-mmlab/mmcv/pull/2571
- Remove .owners.yml by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2712
- Build macos wheel for torch2.0.0 by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/3008
- Bump version to v1.7.2 by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/3007
- Update version info by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2981
- Replace the ubuntu-18.04 with 22.04 in CI by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2793
New Contributors
- @MiniTIckW made their first contribution in https://github.com/open-mmlab/mmcv/pull/2480
- @Wickyzheng made their first contribution in https://github.com/open-mmlab/mmcv/pull/2510
- @DaGaiBa made their first contribution in https://github.com/open-mmlab/mmcv/pull/2487
- @ice-tong made their first contribution in https://github.com/open-mmlab/mmcv/pull/2530
- @enemy1205 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2477
- @Yan-Daojiang made their first contribution in https://github.com/open-mmlab/mmcv/pull/2576
- @allanzelener made their first contribution in https://github.com/open-mmlab/mmcv/pull/2547
- @xinlianglalala made their first contribution in https://github.com/open-mmlab/mmcv/pull/2569
- @BainOuO made their first contribution in https://github.com/open-mmlab/mmcv/pull/2618
- @zcc9707 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2689
- @luomaoling made their first contribution in https://github.com/open-mmlab/mmcv/pull/2753
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v1.7.1...v1.7.2
- Python
Published by zhouzaida about 2 years ago
mmcv - MMCV Releases v2.1.0
😀 We are glad to announce that we are providing the mmcv pre-built packages for PyTorch 2.1.0 starting from MMCV v2.1.0.
bash
pip install -U openmim
mim install mmcv
Features
- Add the implementation of dynamic_scatter with mlu-ops by @Danielmic in https://github.com/open-mmlab/mmcv/pull/2847
- Add the implementation of diffiourotated with mlu-ops by @Danielmic in https://github.com/open-mmlab/mmcv/pull/2840
- Add the support of pointsinpolyogns for Ascend device by @long11111111 in https://github.com/open-mmlab/mmcv/pull/2848
- Add the support of BoxIouRotated op for ascend device by @MrShadowY in https://github.com/open-mmlab/mmcv/pull/2842
- Support modulateddeformconv and deform_conv with cambricon MLU backend by @qipengh in https://github.com/open-mmlab/mmcv/pull/2823
- Add the support for group_points ops with Ascend by @673958639 in https://github.com/open-mmlab/mmcv/pull/2935
- Support torch_npu 2.1 by @momo609 in https://github.com/open-mmlab/mmcv/pull/2909
- Adapt new dipu device by @CokeDong in https://github.com/open-mmlab/mmcv/pull/2905
- Use PyTorch WARPSHFLDOWN macro for half support by @zstreet87 in https://github.com/open-mmlab/mmcv/pull/2843
Enhancements
- Support
dipu_mock_cuda=Falseindipufor mmcv ext ops with cpu fallback by @CokeDong in https://github.com/open-mmlab/mmcv/pull/2839 - Add torch mluops check before calling mluOpsxxx interface by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2871
- Change the order of condition to make fx wok by @youkaichao in https://github.com/open-mmlab/mmcv/pull/2883
- Rename fastconvbneval to efficientconvbneval by @youkaichao in https://github.com/open-mmlab/mmcv/pull/2884
- Replace focallosssigmoid op of MLU backend with mlu-ops by @qirun-uiuc in https://github.com/open-mmlab/mmcv/pull/2855
- Replace bbox_overlaps op of MLU backend with mlu-ops by @qirun-uiuc in https://github.com/open-mmlab/mmcv/pull/2879
- Replace roipoint_pool3d op of MLU backend with mlu-ops by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2875
- Replace tin_shift op of MLU backend with mlu-ops by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2910
- Use unified interface in Ascend kernel by @momo609 in https://github.com/open-mmlab/mmcv/pull/2945
Bug Fixes
- Fix roi_align npu bug by @momo609 in https://github.com/open-mmlab/mmcv/pull/2862
- Fix format error in roialignrotated by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2887
- Fix data race risk of
cache_randomnessby @HarborYuan in https://github.com/open-mmlab/mmcv/pull/2927 - Update mlu-ops version by @ClowDragon in https://github.com/open-mmlab/mmcv/pull/2921
- Fix setup.py for torch_npu v2.1 by @momo609 in https://github.com/open-mmlab/mmcv/pull/2928
- Fix the support for nms_rotated in Ascend by @momo609 in https://github.com/open-mmlab/mmcv/pull/2931
- Fix modulateddeformconv.py for torch_npu v2.1 by @6Vvv in https://github.com/open-mmlab/mmcv/pull/2941
- Temporarily disable mps ops for torch2.1.0 by @grimoire in https://github.com/open-mmlab/mmcv/pull/2958
- Update c++17 in setup.py by @grimoire in https://github.com/open-mmlab/mmcv/pull/2865
- Adapt to rocm by @xiabo123 in https://github.com/open-mmlab/mmcv/pull/2827
Others
- Install wheel package in CI to support bdist_wheel command by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2851
- Add torch2.1.0 checking in CI by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2955
- Bump version to 2.1.0 by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2959
New Contributors
- @673958639 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2935
- @6Vvv made their first contribution in https://github.com/open-mmlab/mmcv/pull/2941
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v2.0.1...v2.1.0
- Python
Published by zhouzaida over 2 years ago
mmcv - MMCV Releases v2.0.1
Features
- Add fastconvbn_eval option in ConvModule for fast validation and training in Eval mode by @youkaichao in https://github.com/open-mmlab/mmcv/pull/2807
- Support mmcv ext with DIOPI impl by @CokeDong in https://github.com/open-mmlab/mmcv/pull/2790
- Add the support of arf op for ascend device by @dflhw in https://github.com/open-mmlab/mmcv/pull/2792
- Add the support for rotatedfeaturealign with MLU by @tudejiang79 in https://github.com/open-mmlab/mmcv/pull/2809
- Replace the implementation of roialignrotated with mlu-ops by @tudejiang79 in https://github.com/open-mmlab/mmcv/pull/2808
Enhancements
- Refactor the pytorch and cuda combination for testing in CI by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2693
- Remove two outdated files by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2740
- Update the supported torch and cuda versions in README by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2687
- Remove .owners.yml by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2743
- Enhance issue templates by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2776
- Raise an error if fails to read image by @Ezra-Yu in https://github.com/open-mmlab/mmcv/pull/2791
- Make
build_xxx_layerallow accepting a class type by @HAOCHENYE in https://github.com/open-mmlab/mmcv/pull/2782 - Replace carafe op of MLU backend with mlu-ops by @qipengh in https://github.com/open-mmlab/mmcv/pull/2817
- Replace the implementation of psa_mask with mlu-ops. by @DanieeelLiu in https://github.com/open-mmlab/mmcv/pull/2810
- Simplify the logic of sparse_conv by @duzekunKTH in https://github.com/open-mmlab/mmcv/pull/2802
- Drop the outdated torch versions in CI by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2830
- Add ConvModule.turnonfastconvbn_eval to reduce repetitive code and dynamically bind conv during forward by @youkaichao in https://github.com/open-mmlab/mmcv/pull/2835
Bug Fixes
- ops can not be built in github action by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2783
- Build CUDA ops in CI by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2794
- Fix type hint in
_scale_sizeandrescale_sizeby @MambaWong in https://github.com/open-mmlab/mmcv/pull/2799 - Fix the support for ROCm by @xiabo123 in https://github.com/open-mmlab/mmcv/pull/2811
- Keep the shape value of ascend iou op's parameter 2 smaller than parameter 1 by @dflhw in https://github.com/open-mmlab/mmcv/pull/2821
- Fix arf op's write conflict when num_orientations is not 1 by @dflhw in https://github.com/open-mmlab/mmcv/pull/2824
- Correct mmengine version requirement by @wateryzephyr in https://github.com/open-mmlab/mmcv/pull/2816
- Fix deform_conv ops on Ascend NPU by @Ginray in https://github.com/open-mmlab/mmcv/pull/2832
Documentations
- Describe branch changes by @zhouzaida in https://github.com/open-mmlab/mmcv/pull/2741
- Add npu build.md and update roipoolnpu adpater by @momo609 in https://github.com/open-mmlab/mmcv/pull/2812
- small fix for RandomResize doc by @i-aki-y in https://github.com/open-mmlab/mmcv/pull/2829
New Contributors
- @MambaWong made their first contribution in https://github.com/open-mmlab/mmcv/pull/2799
- @i-aki-y made their first contribution in https://github.com/open-mmlab/mmcv/pull/2829
- @wateryzephyr made their first contribution in https://github.com/open-mmlab/mmcv/pull/2816
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v2.0.0...v2.0.1
- Python
Published by zhouzaida over 2 years ago
mmcv - MMCV Releases V2.0.0
Highlights
Introducing mmcv v2.0.0, we have made significant updates to the package. Training process-related modules, such as Runner, Hook, and Parallel, have been removed and are now provided by MMEngine. With this release, we have added numerous data transformations, including CenterCrop. Additionally, starting from mmcv v2.0.0, we are providing pre-built packages for PyTorch v2.0.0.
Features
- Introduced a variety of data transformations
- Added StyleGAN3 Ops (#2290)
- Implemented BezierAlign CUDA op (#2393)
- Added boxiouquadri & nms_quadri (#2277)
- Introduced stack ball query and stack group points ops (#2292)
- Supported LayerScale in FFN (#2451)
- Added C++ implementation for bbox_overlaps (#2477)
Enhancements
- Adopted the new fileio interface from mmengine (#2468)
- Enabled MultiScaleDeformableAttention with AMP (#2541)
- Registered Compose to TRANSFORMS (#2600)
- Supported valueprojratio in MultiScaleDeformableAttention (#2452)
Backwards Incompatible Changes
- Removed
mmcv.fileio(#2179). The new fileio interfaces can be found at mmengine.fileio - Removed
mmcv.runner,mmcv.parallel,mmcv.engineandmmcv.device(#2216) - Removed all classes in
mmcv.utils(egConfigandRegistry) and many functions. Only a few functions related to mmcv are reserved (#2217). The newConfigandRegistrycan be found at mmengine.registry and mmengine.config - Removed
mmcv.onnex,mmcv.tensorrtmodules, and related functions (#2225) - Dropped support for Python versions < 3.7 (#2525)
- Dropped support for PyTorch versions < 1.8 and CUDA versions < 10.1
- Renamed the package name mmcv to mmcv-lite and mmcv-full to mmcv. Also, changed the default value of the environment variable
MMCV_WITH_OPSfrom 0 to 1 (#2235)
| MMCV < 2.0 | MMCV >= 2.0 |
|---|---|
| ```bash pip install openmim # Contains ops, because the highest version of mmcv-full # is less than 2.0.0, so there is no need to add version # restrictions mim install mmcv-full # do not contain ops mim install "mmcv < 2.0.0" ``` | ```bash pip install openmim # Contains ops mim install mmcv # Ops are not included, because the starting version of # mmcv-lite is 2.0.0, so there is no need to add version # restrictions mim install mmcv-lite ``` |
Bug Fixes
- Improved compatibility of training stylegan2 (#2694)
- Replace torch/extension.h with torch/types.h to fix compilation error on Windows (#2698)
- Fixed torch2.0 dcn/mdcn symbolic (#2695)
- Skipped fused_lrelu op when gcc is less than 6.0 or CUDA is less than 10.2 (#2671)
- Skipped filtered_lrelu ut when CUDA is less than 10.2 (#2677)
- Called operator __half explicitly (#2608)
- Ensured fileio related interfaces maintain backward compatibility (#2539)
- Fixed CI failure due to protobuf version (#2529)
- Corrected flipkeypoint result of RandomFlip (#2527)
- Fixed Windows OS version to 2019 (#2503)
- Resolved optimizer 'ValueError' when using PReLU activation (#2444)
- Fixed improper assertion in RandomChoiceResize (#2450)
- Fixed Correlation op (#2274)
- Fixed roi align symbolic for torch>=1.13 (#2443)
- Added swaplabelpairs in RandomFlip (#2332)
- Fixed MPS ops for torch1.12+ (#2302)
- Corrected calculation error of out_w in MaskedConv2dFunction (#2264)
- Cast mask type to enable training with amp (#2220)
Documentations
- Fixed torch2.0 dcn/mdcn symbolic (#2695)
- Skipped fused_lrelu op when gcc is less than 6.0 or CUDA is less than 10.2 (#2671)
- Skipped filtered_lrelu ut when CUDA is less than 10.2 (#2677)
- Called operator __half explicitly (#2608)
- Used official isort (#2575)
- Ensured fileio related interfaces maintain backward compatibility (#2539)
- Fixed CI failure due to protobuf version (#2529)
- Corrected flipkeypoint result of RandomFlip (#2527)
- Fixed Windows OS version to 2019 (#2503)
- Resolved optimizer 'ValueError' when using PReLU activation (#2444)
- Fixed improper assertion in RandomChoiceResize (#2450)
- Fixed Correlation op (#2274)
- Fixed roi align symbolic for torch>=1.13 (#2443)
- Added swaplabelpairs in RandomFlip (#2332)
- Fixed MPS ops for torch1.12+ (#2302)
- Corrected calculation error of out_w in MaskedConv2dFunction (#2264)
- Cast mask type to enable training with amp (#2220)
Contributors
@HAOCHENYE @grimoire @zhouzaida @nijkah @BainOuO @enemy1205 @C1rN09 @triple-Mu @okotaku @vansinhu @Harold-lkk @KeiChiTse @xiexinch @xin-li-67 @VVsssssk @LYMDLUT @MeowZheng @yxzhao2022 @mzr1996 @ZwwWayne @YuanLiuuuuuu @ly015 @plyfager @GT9505 @zytx121 @hhaAndroid @fangyixiao18 @JingweiZhang12 @xcnick @zengyh1900
- Python
Published by zhouzaida almost 3 years ago
mmcv - MMCV Releases v2.0.0rc4
Features
- Support LayerScale in FFN (#2451)
- Add BezierAlign CUDA op (#2393)
- Pick Ascend ops from the master branch (#2501)
Improvements
- Support valueprojratio in MultiScaleDeformableAttention (#2452)
- Use the new interface of fileio from mmengine (#2468, #2539)
Bug fixes
- Fix optimizer 'ValueError' when using PReLU activation (#2444)
- Fix flipkeypoint of RandomFlip returns a wrong result (#2527)
Documentations
- Update the supported PyTorch and CUDA versions (#2456)
- Add convention for the order of data transforms (#2442)
- Update qq group link (#2454)
Others
- Fix the version of Windows OS to 2019 in CI (#2503)
- Deprecate the support for python3.6 (#2525)
- Fix CI failed due to the version of protobuf (#2529)
Contributors
A total of 9 developers contributed to this release. @zhouzaida @KeiChiTse @Harold-lkk @vansin @okotaku @grimoire @HAOCHENYE @CokeDong @ckirchhoff2021
New Contributors
- @KeiChiTse made their first contribution in https://github.com/open-mmlab/mmcv/pull/2444
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v2.0.0rc3...v2.0.0rc4
- Python
Published by ice-tong about 3 years ago
mmcv - MMCV Releases v1.7.1
Features
- Support RoiawarePool3d, MultiScaleDeformableAttn, ModulatedDeformConv2d and NMS with cambricon MLU backend (#2359, #2396, #2411, #2401)
- Add Ascend npu adapter for FusedBiasLeakyRelu, DeformableRoIPool and NMS (#2474, #2481, #2387)
- Support receptive field search of CNN models (https://github.com/open-mmlab/mmcv/pull/2056)
Bug fixes
- Create Tensor with new_* method to support AMP (https://github.com/open-mmlab/mmcv/pull/2389)
- Fix DCN TensorRT plugin (https://github.com/open-mmlab/mmcv/pull/2408)
- Fix the bug when the input mask is not '0-1-tensor' in masked_conv (https://github.com/open-mmlab/mmcv/pull/2423)
- Fix UT caused by the new version of packaging (https://github.com/open-mmlab/mmcv/pull/2482)
- Change the block size to 1024 during compilation (https://github.com/open-mmlab/mmcv/pull/2460)
- Fix skip_layer for RF-Next (https://github.com/open-mmlab/mmcv/pull/2489)
Documentations
- Update supported pytorch versions (https://github.com/open-mmlab/mmcv/pull/2382)
- Add code style guide (https://github.com/open-mmlab/mmcv/pull/2406)
- Add currently-npu-supported-ops in ops.md (https://github.com/open-mmlab/mmcv/pull/2420)
- Refine contributing.md (https://github.com/open-mmlab/mmcv/pull/1941)
- Fix typos in contributing docs (#2462, #2485)
- Update qq group link (https://github.com/open-mmlab/mmcv/pull/2453)
- Replace NPU with Ascend in installation documentatio (https://github.com/open-mmlab/mmcv/pull/2469)
Others
- Add torch1.13 checking in CI (https://github.com/open-mmlab/mmcv/pull/2405)
- Update the URL of pyupgrade pre-commit hook (https://github.com/open-mmlab/mmcv/pull/2448)
Contributors
A total of 24 developers contributed to this release. @ZhangLearning @grimoire @zhouzaida @cathyzhang222 @DerryHub @ckirchhoff2021 @wangjiangben-hw @zcc-zjut @momo609 @ZShaopeng @Wickyzheng @HAOCHENYE @gasvn @lzyhha @zytx121 @BayMaxBHL @sunyc11 @mengpenghui @RangeKing @vansin @Taited @jayggh @xiabo123 @CokeDong
New Contributors
- @ZhangLearning made their first contribution in https://github.com/open-mmlab/mmcv/pull/2359
- @DerryHub made their first contribution in https://github.com/open-mmlab/mmcv/pull/2408
- @gasvn made their first contribution in https://github.com/open-mmlab/mmcv/pull/2056
- @BayMaxBHL made their first contribution in https://github.com/open-mmlab/mmcv/pull/2448
- @sunyc11 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2459
- @mengpenghui made their first contribution in https://github.com/open-mmlab/mmcv/pull/2411
- @Taited made their first contribution in https://github.com/open-mmlab/mmcv/pull/2485
- @jayggh made their first contribution in https://github.com/open-mmlab/mmcv/pull/2474
- @xiabo123 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2460
- @lzyhha made their first contribution in https://github.com/open-mmlab/mmcv/pull/2489
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v1.7.0...v1.7.1
- Python
Published by ice-tong about 3 years ago
mmcv - MMCV Release V2.0.0rc3
Features
- Add stack ball query and stack group points ops (#2292)
- Support RoIAwarePool3d, Iou3d and MultiScaleDeformableAttn with MLU backend (#2359, #2339)
- Support NMS with MLU590 backend (#2401)
Improvements
- Adapt mlu code to cntoolkit3.0.1
Bug fixes
- Fix roi align symbolic for torch>=1.13 (#2443)
- Create Tensor with new_* method to support AMP (#2389)
- Fix three nn op can not accept half tensor (#2348)
- Fix the potential NaN bug in calcsquaredist (#2356)
- Fix Correlation op (#2274)
- Fix a not proper assertion in RandomChoiceResize (#2450)
Documentations
- Make installation commands compatible with windows CMD (#2353)
- Add macOS building notice (#2364)
- Refine contributing.md (#1941)
- Add code style guide (#2406)
Others
- Add torch1.13 checking in CI (#2441)
Contributors
A total of 13 developers contributed to this release. @LYMDLUT @LYM-fire @zhouzaida @VVsssssk @xin-li-67 @grimoire @ZCMax @ZhangLearning @cathyzhang222 @HAOCHENYE @defei-coder @ZShaopeng @xiexinch
New Contributors
- @LYMDLUT made their first contribution in https://github.com/open-mmlab/mmcv/pull/2353
- @xiexinch made their first contribution in https://github.com/open-mmlab/mmcv/pull/2450
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v2.0.0rc2...v2.0.0rc3
- Python
Published by ice-tong over 3 years ago
mmcv - MMCV Releases v1.7.0
Highlights
Starting from v1.7.0, we are providing pre-built packages for PyTorch v1.13.0, as well as for the macOS platform. Note that, for the mac M1 chip, only the pre-built packages on PyTorch v1.13.0 are available.
pip install -U openmim
mim install mmcv-full
Features
- Support training on Ascend device (https://github.com/open-mmlab/mmcv/pull/2262, https://github.com/open-mmlab/mmcv/pull/2370)
- Add boxiouquadri & nms_quadri (https://github.com/open-mmlab/mmcv/pull/2277)
- Add stack ball query and stack group points ops (https://github.com/open-mmlab/mmcv/pull/2292)
- Support PrRoI op for Parrots (https://github.com/open-mmlab/mmcv/pull/2280)
- Support Iou3d with cambricon MLU backend (https://github.com/open-mmlab/mmcv/pull/2339)
- Add getJobLimitCapability interface and use it in nms (https://github.com/open-mmlab/mmcv/pull/2337)
Improvements
- Support SiLU with torch < 1.7.0 (https://github.com/open-mmlab/mmcv/pull/2278)
- Update onnx registry (https://github.com/open-mmlab/mmcv/pull/2294)
- Adapt mlu code to cntoolkit3.0.1 (https://github.com/open-mmlab/mmcv/pull/2248)
- Refactor the nms3d op to support MLU (https://github.com/open-mmlab/mmcv/pull/2296)
- Add ability to pass logger instance to frameworks (https://github.com/open-mmlab/mmcv/pull/2317)
- Add a new argument define_metric in wandb hook (https://github.com/open-mmlab/mmcv/pull/2237)
Bug fixes
- Fix warning of CUDA ops (https://github.com/open-mmlab/mmcv/pull/2324)
- Fix the bug of uninitialized prarmeter (https://github.com/open-mmlab/mmcv/pull/2345)
- Fix three nn op can not accept half tensor (https://github.com/open-mmlab/mmcv/pull/2348)
- Fix Correlation op (https://github.com/open-mmlab/mmcv/pull/2274)
- Fix the potential NaN bug in calcsquaredist() (https://github.com/open-mmlab/mmcv/pull/2356)
- Fix MPS ops for torch1.12+ (https://github.com/open-mmlab/mmcv/pull/2302)
Documentations
- Refine README and installation documentations (https://github.com/open-mmlab/mmcv/pull/1977)
- Update README and fix typo in docs (https://github.com/open-mmlab/mmcv/pull/2358)
- Add steps to install mmcv-full on Ascend machine (https://github.com/open-mmlab/mmcv/pull/2363)
- Add maintenance plan and print deprecated message (https://github.com/open-mmlab/mmcv/pull/2357)
Others
- Upgrade pre commit hooks (https://github.com/open-mmlab/mmcv/pull/2321)
- Build macOS wheel in Github Action (https://github.com/open-mmlab/mmcv/pull/2311, https://github.com/open-mmlab/mmcv/pull/2366)
Contributors
A total of 14 developers contributed to this release. @okotaku @zhouzaida @grimoire @wangjiangben-hw @ckirchhoff2021 @tpoisonooo @defei-coder @budefei @CokeDong @shcheklein @cathyzhang222 @ZCMax @zytx121 @momo609
New Contributors
- @tpoisonooo made their first contribution in https://github.com/open-mmlab/mmcv/pull/2324
- @shcheklein made their first contribution in https://github.com/open-mmlab/mmcv/pull/2317
- @cathyzhang222 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2339
- @momo609 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2363
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v1.6.2...v1.7.0
- Python
Published by ice-tong over 3 years ago
mmcv - MMCV Release V2.0.0rc2
😀 We are glad to announce that we are providing the mmcv pre-built packages for macOS (x86_64 architecture).
bash
pip install -U openmim
mim install 'mmcv>=2.0.0rc2'
Features
- Add
TTAtransform (#2146) - Add two CUDA ops, boxiouquadri and nms_quadri (#2277)
- Add two MLU ops, RoIPointPool3d and Deformable RoIPool (#2247, #2137)
- Register a new activation layer
SiLUto ACTIVATION_LAYERS (#2256, #2278)
Bug fixes
- Fix the calculation error of out_w in MaskedConv2dFunction (#2264)
- Fix MPS ops for torch1.12+ (#2302)
- Add
swap_labe_pairsinRandomFlip(#2332)
Documentations
- Fix some mistakes in data_process.md (#2283)
- Refactor the API structures of documentation (#2254)
- Add a reminder in docs for macOS M1 users (#2268)
- Translate data_transform.md to English (#2325)
- Refine README and installation documentation (#2340)
- Make installation commands compatible with Windows cmd (#2353)
Others
- Update configs of CircleCI and GitHub Action (#2255)
- Build macOS wheels in Github Action (#2350)
- Upgrade the versions of pre-commit hooks (#2328)
- Remove onnx-related files (#2295)
New Contributors
- @yxzhao2022 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2283
- @xin-li-67 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2268
- @LYMDLUT made their first contribution in https://github.com/open-mmlab/mmcv/pull/2353
Contributors
@yxzhao2022 @LYMDLUT @grimoire @xin-li-67 @zytx121 @MeowZheng @HAOCHENYE @zhouzaida @ZShaopeng @defei-coder @okotaku
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v2.0.0rc1...v2.0.0rc2
- Python
Published by zhouzaida over 3 years ago
mmcv - MMCV Release V1.6.2
Features
- Register a new activation layer
SiLUto 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
paramstoMlflowLoggerHook(#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_weightsof 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 sphinxmarkdowntables and markdown versions (#2144)
- Add
swith_language.mdin 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 https://github.com/open-mmlab/mmcv/pull/2103
- @xcnick made their first contribution in https://github.com/open-mmlab/mmcv/pull/2155
- @eivtho made their first contribution in https://github.com/open-mmlab/mmcv/pull/2188
- @CokeDong made their first contribution in https://github.com/open-mmlab/mmcv/pull/2189
- @tudejiang79 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2210
- @DanieeelLiu made their first contribution in https://github.com/open-mmlab/mmcv/pull/2215
- @PungTeng made their first contribution in https://github.com/open-mmlab/mmcv/pull/2243
- @ZShaopeng made their first contribution in https://github.com/open-mmlab/mmcv/pull/2247
- @zstreet87 made their first contribution in https://github.com/open-mmlab/mmcv/pull/1918
- @okotaku made their first contribution in https://github.com/open-mmlab/mmcv/pull/2256
- @datumbox made their first contribution in https://github.com/open-mmlab/mmcv/pull/2246
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v1.6.1...v1.6.2
- Python
Published by zhouzaida over 3 years ago
mmcv - 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.
- Python
Published by zhouzaida over 3 years ago
mmcv - 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.
bash
pip install -U openmim
mim install mmcv-full
Features
- Add bbox overlap MPS op (#2123)
- Add PrRoIPool CUDA op (#2113)
Improvements
- Improve ProfilerHook behavior when using a relative (or empty) dir_name (#2119)
Documentations
- Fix some mistakes of examples (#2120)
- Fix typos (#2124)
- Fix markdown version (#2121)
Others
- Add
.pre-commit-config-zh-cn.yamlto speed uppre-commitin 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 https://github.com/open-mmlab/mmcv/pull/2120
- @0reza made their first contribution in https://github.com/open-mmlab/mmcv/pull/2124
- @GPhilo made their first contribution in https://github.com/open-mmlab/mmcv/pull/2119
- @JingweiZhang12 made their first contribution in https://github.com/open-mmlab/mmcv/pull/2113
Full Changelog: https://github.com/open-mmlab/mmcv/compare/v1.6.0...v1.6.1
- Python
Published by zhouzaida over 3 years ago
mmcv - 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.
bash
pip install -U openmim
mim install mmcv-full
Features
- Add support for MPS (#2092)
- Support RoiPool with Cambricon MLU backend (#2073)
Improvements
- Add torch_meshgrid wrapper due to PyTorch change (#2044)
- Add
_run_ddp_forwardmethod forMMDistributedDataParallelto be compatible with PyTorch1.12 (#2107)
Bug fixes
- Fix name error in trtdeformconv.cpp (#2075)
- Add torchvision_0.12.json for testing torchvision0.13 (#2084)
- Fix numchannels in testbuildnormlayer 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
- Reformat the op docs (#2052)
- Add Dockerfile (#1974)
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
- Python
Published by zhouzaida over 3 years ago
mmcv - MMCV Release V1.5.3
Features
- Add ChamferDistance CUDA op (#1933)
- Add two MLU ops, RoiAlignRotated and PSAMask (#2033 #2024)
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
- Update copyright years in docs (#2042)
- Fix mdformat version to support python3.6 (#2014)
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
- Python
Published by zhouzaida over 3 years ago
mmcv - 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_batchfrom Runner (#1940) - Add pyupgrade pre-commit hook (#1937)
Bug fixes
- Fix bbox overlap fp16 (#1958)
- Skip CPU test in testrotatedfeature_align.py for parrots (#1968)
- Fix ismodulewrapper (#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
- Python
Published by imabackstabber almost 4 years ago
mmcv - MMCV Release V1.5.1
Features
- Added
ClearMLLoggerHook(#1906) - Added rotatedfeaturealign 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
dumpmethod 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
- Added IPU installation documentation (#1904)
- Added type annotations (#1947, #1950, #1946)
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
- Python
Published by zhouzaida almost 4 years ago
mmcv - 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 gettorchvisionmodels (#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
- Fix docstring (#1876, #1880)
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
- Python
Published by imabackstabber almost 4 years ago
mmcv - 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.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/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 poolwith python for torch<1.5 (#1772)
Improvements
- Removed warnings in compilation (#1675)
- Updated unit tests of mmdet3d ops (#1811)
Bug fixes
- Fix ROCm support (#1704)
- Fix MultiScaleDeformableAttention (#1823)
- Fix voxelization bug (#1822)
- Fix error cased by
_sync_paramswhich 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
- Python
Published by teamwong111 almost 4 years ago
mmcv - 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.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/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_pointsop (#1758) - Add non-deterministic voxelization op from mmdet3d (#1783)
- Add
worker_init_fnhelper function to initialize dataloader workers (#1788)
Bug fixes
- Fix deconvflopscounter_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
- Python
Published by zhouzaida almost 4 years ago
mmcv - MMCV Release V1.4.6
😀 We are glad to announce that we are providing the mmcv pre-built packages on Windows starting from v1.4.0.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10.0/index.html
We can ignore the micro version of PyTorch
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10/index.html ```
Features
- Add detection3d op
spconv(#1581) - Support
deepcopyfor Config (#1658)
Improvements
- Refactor the interface of
RoIAlignRotated(#1662) - Replace positional argument with keyword argument in
EvalHookwhen callingsave_checkpoint(#1694)
Bug fixes
- Remove unused header files (#1653)
Documentations
- Fix spelling error in registry.md (#1717)
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.
@rentainhe @mzr1996 @MeowZheng @wHao-Wu @grimoire @ZwwWayne @AllentDan @teamwong111 @zhouzaida @nijkah @luopeichao @makifozkanoglu
- Python
Published by zhouzaida about 4 years ago
mmcv - MMCV Release V1.4.5
😀 We are glad to announce that we are providing the mmcv pre-built packages on Windows starting from v1.4.0.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10.0/index.html
We can ignore the micro version of PyTorch
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10/index.html ```
Improvements
- Replace
HSwishwith PyTorch implementation (#1709)
Bug fixes
- Fix the undefined name error (#1695)
- Fix an incorrect assignment in the
BaseTransformerLayer(#1670) - Fix the mismatch torch version of
MlflowLoggerHook(#1680) - Fix a bug in
min_area_polygons(#1702) - Fix batched nms for
nms_rotated(#1688)
Documentations
- Add cuDNN installation steps in tensorrt_plugin.md (#1711)
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 11 developers contributed to this release.
@nijkah @zytx121 @jamiechoi1995 @jshilong @MeowZheng @RangiLyu @RunningLeon @HAOCHENYE @ZwwWayne @zhouzaida @grimoire
- Python
Published by teamwong111 about 4 years ago
mmcv - MMCV Release V1.4.4
😀 We are glad to announce that we are providing the mmcv pre-built packages on Windows starting from v1.4.0.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10.0/index.html
We can ignore the micro version of PyTorch
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10/index.html ```
Features
- Add 6 rotated detection ops for parrots (#1665)
- Gradually reduce the difference between maxlr and baselr of
CyclicLrUpdaterHook(#1655)
Improvements
- Improve the docstring of
LoggerHooks(#1664)
Bug fixes
- Fix the unit test of correlation op (#1659)
- Fix the invalid CUDA memory access when training s2anet (#1660)
- Fix the bug of momentum updater with warmup policy (#1626)
- Align
HSigmoidwith PyTorch official implementation(#1622) - Fix the
scatterfunction when the device type of input is CPU (#1621) - Fix the
cast_tensor_type(#1639)
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 11 developers contributed to this release.
@hokmund @HAOCHENYE @ZwwWayne @teamwong111 @zhouzaida @luopeichao @Bilibilee @gaotongxiao @imyhxy @zhanggefan @grimoire
- Python
Published by zhouzaida about 4 years ago
mmcv - MMCV Release V1.4.3
😀 We are glad to announce that we are providing the mmcv pre-built packages on Windows starting from v1.4.0.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10.0/index.html ```
Features
- Add three rotated detection ops, which are
ConvexIoU,ActiveRotatedFilterandMinAreaPolygon(#1610, #1598, #1611) - Add artifact logging to wandb hook (#1616)
Improvements
- Deprecate the support for "python setup.py test" (#1637)
- Add clockwise argument to ops boxiourotated and nms_rotated (#1592)
- Replace
DIVUPwithGET_BLOCKS(#1586) - Refactor requirements (#1536)
Bug fixes
- Fix the compilation error on windows (#1657, #1643)
- Fix iou3d bug in parrots (#1656)
Documentations
- Add the link of mmdeploy (#1638)
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 next year.
Contributors
A total of 12 developers contributed to this release.
@zytx121 @fcakyon @zhanggefan @LudoBar @zhouzaida @ZwwWayne @grimoire @luopeichao @MeowZheng @AllentDan @Johnson-Wang @teamwong111
- Python
Published by teamwong111 about 4 years ago
mmcv - MMCV Release V1.4.2
😀 We are glad to announce that we are providing the mmcv pre-built packages on Windows starting from v1.4.0.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10.0/index.html ```
Features
- Add three rotated detection ops, which are
RotatedFeatureAlign,RiRoIAlignRotatedandPointsInPolygons(#1603, #1599, #1600) - Support device dispatch in parrots (#1588)
Improvements
- Fix some warnings in the unit tests (#1522)
- Improve the
DvcliveLoggerHook(#1208) tensor2imgssupports converting a tensor to gray image (#1595)
Bug fixes
- Compute distance to origin after sort (#1500)
- Convert the type of bias to the same as the input in
ModulatedDeformConv2dFunction(#1605)
Documentations
- Refactor the structure of documentation (#1580)
- Fix the typo in
runner.md(#1591)
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 next year.
Contributors
A total of 11 developers contributed to this release.
@teamwong111 @grimoire @uniyushu @daavoo @cuhk-hbsun @zhouzaida @ZwwWayne @gaotongxiao @AceCoooool @zytx121 @luopeichao
- Python
Published by zhouzaida about 4 years ago
mmcv - MMCV Release V1.4.1
😀 We are glad to announce that we are providing the mmcv pre-built packages on Windows starting from v1.4.0.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10.0/index.html ```
Features
- Add
ModuleDictinherited from BaseModule and ModuleDict (#1542) - Add
PatchEmbedandPatchMergingmodules used by transformer methods (#1305) - Add multiple backends support for
imread/imwrite(#1527)
Improvements
- Cancel previous CI jobs that are not completed or in the queue (#1537)
- Detect anomalous parameters for debugging (#1547)
batched_nmssupportd skipping the NMS operation (#1552)
Bug fixes
- Fix the TensorRT error with PyTorch 1.8+ (#1464)
- Fix
_get_checkpoint_loaderthat can not correctly obtain a loader when the path of ceph contains cluster name (#1577) - Fix
load_from_localthat can not handle the path starting with~(#1549) - Fix the type inconsistency when a config contains the
_delete_key (#1575)
Documentations
- Fix the documentation of deployment (#1512)
- Fix the format of docstring (#1462, #1573)
- Update FAQ (#1481)
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 next year.
Contributors
A total of 10 developers contributed to this release.
@lvhan027 @RunningLeon @grimoire @zhouzaida @ZwwWayne @LutingWang @MeowZheng @teamwong111 @twmht @274869388
- Python
Published by zhouzaida about 4 years ago
mmcv - MMCV Release V1.4.0
😀 We are glad to announce that we are providing the mmcv pre-built packages on Windows starting from v1.4.0.
```bash
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cuversion}/{torchversion}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.10.0/index.html ```
Improvements
- Replace the third-party
markdownlinthook with the official (#1535) - Add the CircleCI to test the unit tests of CUDA (#1540)
- Skip CI when some specific files were changed (#1533)
Bug fixes
- Fix the python bind of iou3d (#1524)
- Fix a compiled error on Windows (#1526, #1543)
- Fix a compiled error on Linux with cuda9.0 (#1525)
- Fix an undefined symbol error when installing from pip (#1544)
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 next year.
Contributors
A total of 5 developers contributed to this release.
@grimoire @teamwong111 @zhouzaida @ZwwWayne @wangruohui @del-zhenwu
- Python
Published by zhouzaida about 4 years ago
mmcv - MMCV Release V1.3.18
New features
- Add grouppoints, iou3d, roiawarepool3d and voxelize in parrots (#1504)
Improvements
- Refactor csrc with device dispatcher (#1463)
- Update MMCls models in model_zoo/mmcls.json (#1513)
- Improve .gitignore about datasets and logs and checkpoints (#1477)
Bug fixes
- Fix compiled error on Windows (#1510)
- Fix the unit test of Deform Conv (#1490)
- Fix train example (#1502)
- Fix ops links in LICENSES (#1517)
- Skip the checking of
LOCAL_RANKwhen loading checkpoint from HTTP or HTTPS (#1396) - Add load_url to handle incompatibility of PyTorch versions (#1377)
Docs
- Add a script to check the installation of mmcv-full (#1474)
- Add the URL of pre-built packages built with CUDA 11.3 (#1489)
- Fix grammatical error in Registry docs (#1516)
- Add the link and introduction of MMFlow in README (#1506)
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 next year.
Contributors
A total of 13 developers contributed to this release.
@grimoire @lzhangzz @RunningLeon @zhouzaida @ZwwWayne @teamwong111 @MeowZheng @luopeichao @mzr1996 @vansin @tobiasfshr @innerlee @ly015
- Python
Published by teamwong111 over 4 years ago
mmcv - MMCV Release V1.3.17
Improvements
- Improve the log when loading checkpoints (#1446)
Bug fixes
- Fix the wrong weight reference in BaseTransformerLayer (#1418)
- Sleep 2 seconds to prevent deadlock in
IterBasedRunner(#1442) - Fix deform conv by adding an extra argument
im2col_step(#1459) - Print a warning log if eval_res is an empty dict (#1398)
- Rename the init parameter task to name in PaviLoggerHook (#1438)
- Update the test data of
test_tin_shift(#1426)
Docs
- Add ops definition (#1434)
- Fix invalid symbols in docstring (#1466)
- Update the table of pre-built packages in README (#1433)
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 next year.
Contributors
A total of 12 developers contributed to this release.
@grimoire @gaotongxiao @zhouzaida @ZwwWayne @teamwong111 @MeowZheng @ly015 @nbei @RangiLyu @Junjun2016 @hhaAndroid @RunningLeon
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.16
New features
- Add 4 detection3d related CUDA operators, which are
voxel op,roiaware pool3d op,iou3d opandgroup points op(#1381, #1382, #1356, #1415) - Power
FileClientand make it support more file interfaces (#1330) - Support uploading (loading) checkpoints to (from) different backends (#1375)
Improvements
- Add CI for PyTorch 1.10 (#1431)
- Add
case_sensitiveargument inscandir(#1389)
Bug fixes
- Add DeviceGuard for
ms_deform_attn_forward(#1402) - Fix config parsing error caused by non-ascii characters (#1410)
- Fix error when building pdf documentaiton (#1414)
- Update test data for
test_iou3d(#1427)
Docs
- Polish the documentation (#1411)
Notes
Since PyTorch 1.10.0 has been released and we have provided the pre-compiled packages for it, we plan to end the support for PyTorch 1.3 and 1.4 in future releases. We will still provide pre-compiled packages of these two versions for three months, but the reliability and technical support are not guaranteed.
Contributors
A total of 11 developers contributed to this release.
@jshilong , @bobo0810 , @ly015 , @zhouzaida , @Ezra-Yu , @DCNSW, @grimoire , @luopeichao , @ZwwWayne , @nbei , @mzr1996
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.15
New features
- Add seven detection3d related CUDA operators, which are
FurthestPointSample,KNN,GatherPoints,ThreeInterpolate,ThreeNN,AssignScoreWithKandRoIPointPool3d(#1337, #1354, #1338, #1355, #1357, #1358, ) - Add
Deformable ConvCustomOp for onnxruntime (#1343)
Improvements
- Switch the CUDA CI to the docker image provided by PyTorch (#1376)
- Add code spell hook to pre-commit and fix typos (#1384)
- Remove some obsolete code (#1370)
Bug fixes
- Fix the weight initialization of deform conv (#1262)
- Revise the unit test of
correlation(#1368) - Fix the unrecognized symbol in
correlation.cpp(#1372) - Fix a potential bug in
deprecated_api_warning(#1395) - Add error handler when getting host failed (#1374)
- Fix the infernence issue of
MultiScaleDeformableAttentionon CPU device (#1223) - Add a condition to disable invalid memory write by
furthest_sample_point(#1405) - Reduce the test memory usage of
ms_deformable_attn(#1407)
Docs
- Add the Chinese documentation for
CNN,ONNX,TensorRT,Build mmcv-full from sourceandcontributing(#1246, #1331, #1336, #1353, #1351) - Add a note for
installing mmcv-full(#1320)
Notes
Since PyTorch 1.9 has been released, we plan to end the support for PyTorch 1.3 and 1.4 in future releases. We will still provide pre-compiled packages of these two versions for three months, but the reliability and technical support are not guaranteed. In addition, starting from this version, we provide pre-compiled packages for Python 3.9.
Contributors
A total of 12 developers contributed to this release.
@bofen97, @grimoire, @zhouzaida, @ZwwWayne, @MeowZheng, @Fu0511, @hhaAndroid, @eugene123tw, @DCNSW, @del-zhenwu, @ZhichengHuang, @jshilong
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.14
New features
- Add two CUDA OPs
BallQueryandCorrelation(#1332, #1361 ) - Support loading optical flow data from bytes (#1362)
- Support empty tensor in MMSyncBN (#1205)
Docs
- Replace the default theme of documentation with PyTorch Sphinx Theme (#1321)
- Add the Chinese documentation for
registry.md,config.md,ops.mdandvisualization.md(#1204, #1349, #1350)
Notes
Since PyTorch 1.9 has been released, we plan to end the support for PyTorch 1.3 and 1.4 in future releases. We will still provide pre-compiled packages of these two versions for three months, but the reliability and technical support are not guaranteed.
Contributors
A total of 8 developers contributed to this release.
@AluminiumOxide, @MeowZheng, @zhouzaida, @grimoire, @ZwwWayne, @nbei, @DCNSW, @luopeichao
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.13
New features
- Add the CPU implementation of
DCN and Modulated DCN(#1278) - Add the
revert_sync_batchnormfunction to convert SyncBN in any model to BN (#1253) - Add python3.9 in CI to verify the support for python3.9 (#1291)
Improvements
- Reimplement
cc_attentionusing pure PyTorch (#1201) - Enhance the output of exception (#1309)
- Restrict the warning message (#1267)
Bug fixes
- Fix missing
state_dict._metadatawhen saving and loading checkpoints (#1294) - Fix typo about installation (#1313)
- Fix sphinx version (#1301)
Docs
- Add the Chinese documentation for
faq.md(#1252)
Notes
Since PyTorch 1.9 has been released, we plan to end the support for PyTorch 1.3 and 1.4 in future releases. We will still provide pre-compiled packages of these two versions for three months, but the reliability and technical support are not guaranteed.
Contributors
A total of 13 developers contributed to this release.
@Leojc @eugene123tw @weiji14 @mzr1996 @zhouzaida @yyz561 @gaotongxiao @EricKani @MeowZheng @ZwwWayne @xvjiarui @Junjun2016 @grimoire
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.12
New features
- Add a
GradientCumulativeOptimizerHookfor training model with a larger batch size (#1221) - Add a
DefaultRunnerConstructorfor extending existingRunner(#1296) - Add
modulated_deform_convto support onnxruntime (#1281)
Improvements
- Add mmcv namespace for custom onnx ops (#1254)
- Compile mmcv with all available CPUs (#1046)
- Support deprecation information in Config (#1275)
- Add windows CI (#1023)
Bug fixes
- Fix the nms implementation of CPU (#1244)
- Remove the duplicate files in
mmcv/ops/csrc(#1284) - Upgrade the version of ONNX Runtime (#1290)
Docs
- Use myst-parser extension for sphinx and make the style more beautiful (#1287)
- Add the Chinese documentation for
utils.mdandrunner.md(#1232, #1202)
Notes
Since PyTorch 1.9 has been released, we plan to end the support for PyTorch 1.3 and 1.4 in future releases. We will still provide pre-compiled packages of these two versions for three months, but the reliability and technical support are not guaranteed.
Contributors
A total of 11 developers contributed to this release.
@innerlee, @grimoire, @zhouzaida, @raoshenglong, @jiang1997, @ZhiyuanChen, @mzr1996, @PeiqiWang, @hhaAndroid, @ZwwWayne, @densechen
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.11
Improvements
Refactor the directory of csrc(#1206)- Add PR document (#1209)
- Speed up mmcv import (#1249)
- Do not depend on setuptools>=52 (#1235)
Bug Fixes
- Fix the bug that the training log and evaluating log are mixed (#1252)
- Fix dcn forward and backward when batch size is larger than im2col_step (#1212)
- Fix potential bugs of basemodule when record the initilization information (#1217)
Notes
Since PyTorch 1.9 has been released, we plan to end the support for PyTorch 1.3 and 1.4 in the future releases. We will still provide pre-compiled packages of these two versions for three months, but the reliability and technical support are not guaranteed.
Contributors
A total of 12 developers contributed to this release.
@hellock, @xvjiarui, @jshilong, @ZwwWayne, @MeowZheng, @innerlee, @zhouzaida, @kennymckormick, @grimoire, @nbei, @dreamerlin, @Junjun2016
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.10
New Features
- Register CrissCrossAttention into plugin layers (#1189)
- Support custom hooks in IterBasedRunner (#1193)
- Add ONNX export support to torch.roll (#1194)
- Add
flat cosine lr updater(#1066) - Add
logger for initialization of parameters(#1150)
Improvements
- Add
is_tracingto wrap torch.jit.is_tracing in different versions of pytorch #1187 - Revise the interface of
upfirdn2dfunction (#1195) - Improve digit_version (#1185)
- Add TERMINOLOGY.md (#895)
Bug Fixes
- Fix potential integer overflow in imequalize (#1198)
- Fix floor/ceil error in deform_attn for windows (#1037)
- Resolves the duplicate logs issue (#1164)
- Fix example (#1074)
- Prevent kernel_normalizer to change mask dtype (#1210)
Notes
Since PyTorch 1.9 has been released, we plan to end the support for PyTorch 1.3 and 1.4 in the future releases. We will still provide pre-compiled packages of these two versions for three months, but the reliability and technical support are not guaranteed.
Contributors
A total of 19 developers contributed to this release.
@yeliudev, @007gzs, @wangg12, @qizhuli, @ddonatien, @mzr1996, @Junjun2016, @grimoire, @nbei, @dreamerlin, @jshilong, @kennymckormick, @zhouzaida, @ZwwWayne, @hellock, @MeowZheng, @innerlee, @xvjiarui, @RunningLeon
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.9
New Features
- Support building MMCV with
ROCm(#1022) - Support tensorrt custom plugin MMCVCornerPool (#1179)
Improvements
- Use LooseVersion for version checking (#1158)
- Refactor structure of documentation (#1102)
- Build
Chinese documentation(#1073)
Bug Fixes
- Fix SyncBN in PyTorch 1.9 (#1138)
- Fix saconv in PyTorch 1.9 (#1147)
- Fix unittest in PyTorch 1.9 (#1146)
- Fix missing check of directory in scandir (#1110)
Change dict update order to fix bug of resumed checkpoint(#1108)
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.8
New Features
- Add TensorRT support to modulated deformable conv ops (#1078)
- Support
variables in base files for configs(#1083)
Improvements
- Delete the warning report of BaseInit (#1126)
- Add to_ntuple() helper function (#1125)
- Support resize or rescale an image to multiple (#1121)
- Refine the EvalHook to meet the demand for the downstream codebases (#1076)
- Refine default hooks and custom hooks priority rank (#1120)
- Refine the PyTorch CUDA implementation for Criss Cross Attention (#1143)
- Support image reading while ignoring EXIF orientation info (#1091)
- Support print hooks before running (#1123)
Bug Fixes
- Fix the dimension of getOutputDimensions (#1117)
- Fix the backward-compatible of empty tensor inference (#1131)
- Fix the permission denied error on windows (#1077)
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.7
Improvements
- Add a return value in TextLoggerHook.log() (#1040)
Bug Fixes
- Avoid bc-breaking when importing MultiScaleDeformableAttention (#1100)
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.6
New Features
- Add
DvcliveLoggerHook(#1075) - Enable exporting to ONNX for
PointRend(#953) - Support resuming loss scaler for FP16 training (#1013)
Backwards Incompatible Changes
- In PR #978,
MultiScaleDeformableAttentionhas been moved to mmcv/ops/multiscaledeformattn.py. So the import source has been changed frommmcv.cnn.bricks.transformerto `mmcv.ops.multiscaledeformattn`. See the example of migration in https://github.com/open-mmlab/mmdetection/pull/5338.
Improvements
- Add segmentation keys for
greater_keysin EvalHook (#1060) - Improve windows support for
list_from_file()(#1043) - Add runner tutorial (#1082)
- Refactor the base class related to transformer (#978)
- Add support for scorethreshold and maxnum for NMS operation when exporting to ONNX (#957)
- Support using the name of the base classes in
init_cfg(#1057)
Bug Fixes
- Fix link of checkpoints for mmcls (#1067)
- Fix the docstring for initializers (#1071)
- Python
Published by zhouzaida over 4 years ago
mmcv - MMCV Release V1.3.5
New Features
- Add
NeptuneLoggerHook(#1025) - Add truncated normal weight init (#935)
- Add cummax/cummin tensorrt plugin (#1031)
- Add cuda version BorderAlign module (#1021)
- Add TensorRT InstanceNormalization plugin (#1034)
Improvements
- Support amp (pytorch >= 1.6.0) on DCN and DCNv2 (#1029)
Bug Fixes
- Fix a bug when two or more loggers were set (#1015)
- Fix generalized attention fp16 (#1036)
- Python
Published by zhouzaida almost 5 years ago
mmcv - MMCV Release V1.3.4
New Features
- Support corner_pool related custom operators for onnxruntime (#997)
- Support custom operators cummax and cummin for onnxruntime (#1010)
- Add StepMomentumUpdaterHook (#1011)
- Add pixel group and contour expand ops (#993)
- Add
custom hookby config file (#970)
Improvements
- Add test util for checking stand-alone python scripts (#1007)
- Add triangular policy in CyclicLrUpdaterHook (#1001)
- Load hook_msgs when resume checkpoint (#962)
- Update weight initialization in cnn.md (#912)
Bug Fixes
- Fix
DCN fp16(#1014) - Fix basemodule (#1018)
- Fix softnms (#1019)
- Fix wrong iter number and progress number in the logging during val/test time #914
- Read in rb mode then decode (#983)
- Python
Published by zhouzaida almost 5 years ago
mmcv - MMCV Release V1.3.3
Bug Fixes
- Fix pybind exporting bug in fusedbiasleakyrelu and upfirdn2d (#1005)
- Python
Published by zhouzaida almost 5 years ago
mmcv - MMCV Release V1.3.2
New Features
- Add Rotated ROI align op for pytorch and onnxruntime (cpu) (#933)
- Support
Multi-Scale-DeformAttentionindeformable-detr(#878) - Support CPU training with MMDataParallel (#972)
- Support
auto_fp16using torch.cuda.amp when PyTorch >= 1.6.0 (#951) - Add PyTorch
Profilerto analyze training process (#937)
Improvements
- Remove redundant self.init_cfg (#959)
- Refactor init cfg (#958)
- Refactor readme.md (#984)
- Use Sequential rather than nn.Sequential in buildmodelfrom_cfg (#992)
- Use len(result) as batch size in engine/test.py (#987)
- Support clipping min_lr in StepLrUpdaterHook #995
Bug Fixes
- Fix compile without cuda (#945)
- Rename initweight to initweights (#971)
- Incorrect citation in transformer documentation (#974)
- Fix data type in fused-bias-leakyrelu for apex fp16 training (#981)
- Fix raise error bug in registering multiple names (#949)
- Python
Published by zhouzaida almost 5 years ago
mmcv - MMCV Release V1.3.1
New Features
- Add OneCycleLrUpdaterHook (#906)
- Add onnxruntime custom op grid_sample (#916)
- Add
EvalHookwhich will be used in downstream projects (#739) - Add
model registry(#760)
Improvements
- Add more detail of warning in basemodule (#899)
- Remove deprecated onnx-simplify source code (#927)
- Add total_steps attribute for OneCycleLrUpdaterHook (#929)
- Add docstring for DeformConv (#921)
- Revise init_weight in BaseModule (#905)
- Add document for TensorRT and onnxruntime custom ops (#920)
- Add init_cfg in transformer base classes (#946)
Bug Fixes
- Fix initialization bug of override cfg (#918)
- Fix typo in buildconvlayer docstring (#928)
- Fix onnx interpolate conversion (#917)
- Fix bug of
lr updater hook(#907) - Fix wandb logger drop result bug (#913)
- Revise override in init_cfg (#930)
- Fix cuda compile error on visual studio 16.9 (#891)
- Fix DeformConv2d bias error and add tests (#940)
- Fix train error in EpochBasedRunner (#942)
- Python
Published by zhouzaida almost 5 years ago
mmcv - MMCV Release V1.3.0
New Features
- Add cutout and lighting (#909)
- Add
transformer base class(#892) - Add Caffe2Xavier Initializer (#902)
- Add cuda ops: UpFirDn2d and fusedbiasleakyrelu (#900)
- Support to calculate FLOPs of GN, IN, LN (#897)
- Add
Sequentialwith init_weight (#884) - Add tifffile backend support for image io (#868)
- Add
Deformable Conv2dTensorRT Plugin (#858) - Support auto contrast (#881)
- Add adjust sharpness (#864)
- Add HTTP backend (#860)
- Add NonMaxSuppression TensorRT Plugin (#787)
- Add GELU activation function (#843)
- Add readme of chinese version (#846)
Improvements
- Revise function of layers and override keys in init_cfg (#893)
- Revise function of is_init flag in BaseModule (#898)
- Support revisekeys in loadcheckpoint()(#829)
- Support save last checkpoint (#853)
- Update video/io.py (#856)
- Add docstring for DistSamplerSeedHook (#850)
Bug Fixes
- Fix bug of convmodule (#889)
- Fix scatter in pytorch18 (#882)
- Fix test unit of nms and batched_nms for tensorrt (#872)
- Fix bugs in some photometric transforms (#863)
- Fix pytorch2onnx failed for interpolate op with PyTorch==1.6.0 (#848)
- Fix the iter error when the number of GPUs is different during resume (#844)
- Fix typo in README (#852)
- Fix document in cnn.md (#841)
- Python
Published by zhouzaida almost 5 years ago
mmcv - MMCV Release V1.2.7
New Features
- Add initializers and BaseModule for unified parameter initialization (#780, #825)
- Add ort nms op (#803)
Improvements
- Add
register_itertimer_hookfunction (#838) - Add more error info in
build_from_cfg(#834) - Add
map_locationparameter for all checkpoint load functions (#826) - Add file mode parameter for logger to support customized mode (#808)
- Polish CONTRIBUTING for all OpenMMLab projects (#807)
- Add a short document for TensorRT plugins in mmcv (#797)
- Refactor
_load_checkpointfunction (#790)
Bug Fixes
- Fix
BaseRunnerhook registry bug (#840) - Fix no
torch.no_graddecorator for val inIterBasedRunner(#835) - Fix weight shape mismatch bug of DCN when batch size larger than 64 (#819)
- Fix
imshow_bboxeswith incontiguous img (#823) - Fix header file for std::iota(#803) in nms op (#820)
- Parse scales of list when PyTorch==1.7.0 (#815)
- Fix misleading tutorial document in io.md (#813)
- Hande exif orientation with
pillowbackend inimread(#805)
- Python
Published by ycxioooong about 5 years ago
mmcv - MMCV Release V1.2.6
New Features
- Add custom operator support for TensorRT. (#786)
- Allow register multi-name for a module simultaneously. (#775)
- Support load checkpoint from ceph. (#778)
- Add common testing functions to OpenMMLab repos. (#743)
- Add ScatterND TensorRT Plugin. (#786)
Improvements
- Set installation of onnx simplify's related packages to optional. (#799)
- Add
torch.no_grad()decorator to the whole val workflow. (#777) - Add dataset classes name info to meta when saving checkpoints. (#776)
- Support not to register lr scheduler hook. (#774)
Bug Fixes
- Fix copy source file path for Windows. (#796)
- Python
Published by ycxioooong about 5 years ago
mmcv - MMCV Release V1.2.5
New Features
- Add custom op
roialignforonnxruntime. (#724) - Add
onnx-simplify. (#751)
Bug Fixes
- Fix
MMDistributedDataParallelwhen pytorch>=1.7. (#769)
- Python
Published by ycxioooong about 5 years ago
mmcv - MMCV Release V1.2.4
Improvements
- Unify installation instruction. (#765)
Bug Fixes
- Remove
pytestfrom the runtime dependencies. (#763)
- Python
Published by ycxioooong about 5 years ago
mmcv - MMCV Release V1.2.3
New Features
- Add custom operators support for onnxruntime. (#612)
- Support mpi launcher. (#726)
Improvements
- Add 'iof' mode and 'aligned' mode for
box_iou_rotated. (#726, #753) - Refactor
mmcv-fullinstallation to fitpip>=20.3and follow PEP440. (#748) - Add model links (MobileNet-V3, ResNet18-V1c). (#755, #757)
- Allow to replace nested tuple and list via options in
Config. (#731) - Support mmcv bricks in flops compuation. (#715)
Bug Fixes
- Fix
mmclsrelated models and links. (#741, #745) - Fix grad_output uncontiguous. (#737)
- Avoid recursion error when using customized norm layer without
_abbr_. (#732) - Minor bug fixes, docs, unit tests related to nms. (#728, #733)
- Fix checkpoint key error. (#722)
- Fix comments of
init_weightsinConvModule(#730)
- Python
Published by ycxioooong about 5 years ago
mmcv - MMCV Release V1.2.2
New Features
- Add clamp activation layer. (#685)
Improvements
- Refactor flow_warp and remove its C implementation. (#707)
- LossScaler: Allow the initial value to be set in dynamic mode. (#692)
- Add installation instructions for
mmcv-fullbuild on Windows. (#663) - Allow list index keys in
Config.merge_from_dict. (#696)
Bug Fixes
- Check MASTER_ADDR in the environment variable before assignment. (#705)
- Fix
mmcv-fullinstallation using pip 20.3. (#703)
- Python
Published by ycxioooong about 5 years ago
mmcv - MMCV Release V1.2.1
New Features
- Add
box_iou_rotated,ml_nms_rotatedandnms_rotated. (#625) - Add wrappers for
Conv3d,MaxPool3dandConvTranspose3d. (#652) - Add onnx support to
roi_alignandroi_pool. (#593) - Add more transforms: LUT(#646) and CLAHE(#647).
Improvements
- Better support of pytorch2onnx for detection models. (#648)
- Add documentation for registry. (#656)
- Refactor logger. (#659)
- Enhance
hsigmoid: support more parameters. (#657)
Bug Fixes
- Fix rotated NMS. (#668)
- Python
Published by ycxioooong over 5 years ago
mmcv - MMCV Release V1.2.0
New Features
- Support PyTorch 1.7. (#631)
- Add dynamic scale that manages loss scaling in mixed precision training. (#585)
Improvements
- Add hook message for checkpoint hook (#635)
Bug Fixes
- Fix bug in logger hooks. (#634, #637)
- Update
lr_updaterto correct period index computation. (#574) - Fix missing arguments when converting DCN to ONNX. (#624)
- Python
Published by ycxioooong over 5 years ago
mmcv - MMCV Release V1.1.6
New Features
- New method
import_modules_from_stringsfor import customized modules when loading config from file. (#606) - Add switch for
onnx exporterto get different ONNX model according to the backend. (#607) - Add Sync buffer in CheckpointHook. (#588)
Improvements
- Refactor logger hooks. (#605)
- Skip
opencvrequirement if it's already installed in the env. (#616) - Serveral updates regarding Windows and unittests. (#586)
Bug Fixes
- Fix bug in resuming dict version of optimizers when using epoch based runner. (#610)
- Fix iter-time-hook bug when meeting iter-based runner. (#623)
- Python
Published by ycxioooong over 5 years ago
mmcv - MMCV Release V1.1.5
Bug Fixes
- Fix wrappers version comparison bug. (#602)
- Revert DCN to fix the bug introduced in https://github.com/open-mmlab/mmcv/pull/565. (#597)
- Python
Published by ycxioooong over 5 years ago
mmcv - MMCV Release V1.1.4
New Features
- Add a
RUNNERSregistry andbuild_runnermethod. (#570) - Support to specify LR of DCN's conv_offset. (#344)
Improvements
- merge the calling of train/valstep and batchprocessor into run_iter (#553)
- Add the missing
by_epocharg forMlflowLoggerHookandWandbLoggerHook. (#576) - Add
aligned=Truefor torchvision roi_align. (#581) - Adopt the new URL https://download.openmmlab.com. (#583)
- Register deconv in
CONV_LAYERS. (#582) - Log grad norm in fp16 optimizer hook. (#584)
Bug Fixes
- Fix fp16_optimizer state bug. (#580)
- Fix the pytorch version comparison in op wrappers. (#572)
- Python
Published by hellock over 5 years ago
mmcv - MMCV Release V1.1.3
New Features
- Implement
Conv2dAdaptivePadding, which is the same op as 2D convolution in tensorflow withpaddingset to "same". (#529) - Support reading video from url (#531)
- Add
imtranslate,imequalize,adjust_color,adjust_brightness,adjust_contrastaugmentation. (#538, #542, #543, #546)
Improvements
- Add switch for onnx exporter. (#564)
- Allow
typeto bedefault_argsinbuild_from_cfg. (#558) - Expose
wrap_fp16_modelto mmcv.runner. (#555) - Move op wrappers into bricks and use wrappers in registry (#550)
- Support multiple interpolation modes for
imrotate(#545)
Bug Fixes
- Fix the init method of deprecated wrappers. (#567)
- Fix DCN bug in parrots. (#562, #563, #565)
- Use copy instead of symlink on windows. (#557)
- Remove assertion for batch size and samplespergpu. (#549)
- Fix compilation bug in windows and add instruction for windows. (#540)
- Fix missing padval in impadto_multiple. (#539)
- Python
Published by hellock over 5 years ago
mmcv - MMCV V1.1.2 Release
New Features
- Add Swish activation (#522)
- Add shear augmentation (#526)
- Support loading checkpoints in MMClassification with the scheme
mmcls://(#511)
Improvements
- Allow
imshow_det_bboxes()to return the image with bboxes. (#527) - Add more default types for json dump (#536)
- Python
Published by hellock over 5 years ago
mmcv - MMCV V1.1.1 Release
New Features
- Add
collect_env()to collect environment info. - Add
import_modules_from_strings()to import modules from a string list.
Improvements
- Support splitting in
batched_nmswhen box number is too large. - Support pickling Config.
- Add
diagonalflip mode.
Bug fixes
- Fix regex bugs in windows paths.
- Fix windows compilation issue.
- Fix inconsistent return types in pybind11 function prototypes.
- Python
Published by hellock over 5 years ago
mmcv - MMCV V1.1.0 Release
New Features
- Add ONNX support for adaptive average pooling
- Add TINShift op (used in MMAction2)
- Add DepthwiseSeparableConvModule
- Support PyTorch 1.6
Improvements
- Allow log_config to be None when registering logger hooks
- Support unserializable values for JsonHandler
- Add a trouble shooting page for common issues related to installation and usage
- Change the model url from AWS to Aliyun
- Close the config file after opening to avoid warnings
Bug fixes
- Fix MMDataParallel in CPU mode
- Fix the val mode in logging
- Fix the API incompatibility of SAConv in PyTorch 1.6
- Fix PaviLoggerHook
- Fix the local rank when using slurm
- Fix the
set_epoch()for customized BatchSampler - Fix the parameter order mismatch of SyncBN
- Fix the logger config for IterBaseRunner
- Fix the typo for yaml file extension check in Config
- Python
Published by hellock over 5 years ago
mmcv - MMCV V1.0.5 Release
New Features
- Add
EMAHook. - Add
get_git_hash()to get the commit id for a git repo.
Bug Fixes
- Fix ONNX symbolic for parrots.
- Fix
SyncBuffersHookon single GPU training. - Import
Fp16OptimizerHooktommcv.Runner. - Fix regex on windows.
- Python
Published by hellock over 5 years ago