Mmcv

Latest version: v2.2.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 11

2.0.0rc2

Features

* Add `TTA` transform (2146)
* Add two CUDA ops, box_iou_quadri and nms_quadri (2277)
* Add two MLU ops, RoIPointPool3d and Deformable RoIPool (2247, 2137)
* Register a new activation layer `SiLU` to 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_pairs` in `RandomFlip` (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

2.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](https://github.com/open-mmlab/mmengine). In addition, in v2.0.0rc1, mmcv added many data augmentation methods, such as `CenterCrop`.

1.7.2

&x1F600; **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
* ms_deform_attn 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 diff_iou_rotated 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 points_in_polyogns 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 deform_roi_pool 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 box_iou_rotated 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_epoch` for 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 fused_bias_leakyrelu 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 rotated_feature_align with ml… by tudejiang79 in https://github.com/open-mmlab/mmcv/pull/2659
* Repalce the implementation of roi_align_rotated 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 focal_loss_sigmoid 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 ms_deform_attn 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 MMCV_MLU_ARGS 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.scalar_type in nms_npu 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 roi_align_rotated 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
* nms_rotated_npu 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

1.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

1.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 box_iou_quadri & 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 calc_square_dist() (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

1.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` to `MlflowLoggerHook` (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 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

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.