Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/mmcvPublic
forked fromopen-mmlab/mmcv

Open MMLab Computer Vision Foundation

License

NotificationsYou must be signed in to change notification settings

VIAME/mmcv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 
OpenMMLab websiteHOT     OpenMMLab platformTRY IT OUT
 

docsplatformPyPI - Python VersionpytorchcudaPyPIbadgecodecovlicense

English |简体中文

Highlights

The OpenMMLab team released a new generation of training engineMMEngine at the World Artificial Intelligence Conference on September 1, 2022. It is a foundational library for training deep learning models. Compared with MMCV, it provides a universal and powerful runner, an open architecture with a more unified interface, and a more customizable training process.

At the same time, MMCV released2.x release candidate version and will release 2.x official version on January 1, 2023.

In version 2.x, it removed components related to the training process and added a data transformation module. Also, starting from 2.x, it renamed the package namesmmcv tommcv-lite andmmcv-full tommcv. For details, seeCompatibility Documentation.

MMCV will maintain both1.x and2.x versions. For details, seeBranch Maintenance Plan.

Introduction

MMCV is a foundational library for computer vision research and it provides the following functionalities:

It supports the following systems:

  • Linux
  • Windows
  • macOS

See thedocumentation for more features and usage.

Note: MMCV requires Python 3.6+.

Installation

There are two versions of MMCV:

  • mmcv-full: comprehensive, with full features and various CPU and CUDA ops out of the box. It takes longer time to build.
  • mmcv: lite, without CPU and CUDA ops but all other features, similar to mmcv<1.0.0. It is useful when you do not need those CUDA ops.

Note: Do not install both versions in the same environment, otherwise you may encounter errors likeModuleNotFound. You need to uninstall one before installing the other.Installing the full version is highly recommended if CUDA is available.

Install mmcv-full

Before installing mmcv-full, make sure that PyTorch has been successfully installed following thePyTorch official installation guide.

The command to install mmcv-full:

pip install -U openmimmim install mmcv-full

If you need to specify the version of mmcv-full, you can use the following command:

mim install mmcv-full==1.7.0

If you find that the above installation command does not use a pre-built package ending with.whl but a source package ending with.tar.gz, you may not have a pre-build package corresponding to the PyTorch or CUDA or mmcv-full version, in which case you canbuild mmcv-full from source.

Installation log using pre-built packages

Looking in links:https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
Collecting mmcv-full
Downloadinghttps://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/mmcv_full-1.6.1-cp38-cp38-manylinux1_x86_64.whl

Installation log using source packages

Looking in links:https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
Collecting mmcv-full==1.6.0
Downloading mmcv-full-1.6.0.tar.gz

For more installation methods, please refer to theInstallation documentation.

Install mmcv

If you need to use PyTorch-related modules, make sure PyTorch has been successfully installed in your environment by referring to thePyTorch official installation guide.

pip install -U openmimmim install mmcv

Branch Maintenance Plan

MMCV currently has two branches, the master and 2.x branches, which go through the following three phases.

PhaseTimeBranchdescription
RC Period2022/9/1 - 2022.12.31Release candidate code (2.x version) will be released on 2.x branch. Default master branch is still 1.x versionMaster and 2.x branches iterate normally
Compatibility Period2023/1/1 - 2023.12.31Default master branch will be switched to 2.x branch, and 1.x branch will correspond to 1.x versionWe still maintain the old version 1.x, respond to user needs, but try not to introduce changes that break compatibility; master branch iterates normally
Maintenance PeriodFrom 2024/1/1Default master branch corresponds to 2.x version and 1.x branch is 1.x version1.x branch is in maintenance phase, no more new feature support; master branch is iterating normally

Supported projects

  • MIM: MIM installs OpenMMLab packages.
  • MMClassification: OpenMMLab image classification toolbox and benchmark.
  • MMDetection: OpenMMLab detection toolbox and benchmark.
  • MMDetection3D: OpenMMLab's next-generation platform for general 3D object detection.
  • MMRotate: OpenMMLab rotated object detection toolbox and benchmark.
  • MMSegmentation: OpenMMLab semantic segmentation toolbox and benchmark.
  • MMOCR: OpenMMLab text detection, recognition, and understanding toolbox.
  • MMPose: OpenMMLab pose estimation toolbox and benchmark.
  • MMHuman3D: OpenMMLab 3D human parametric model toolbox and benchmark.
  • MMSelfSup: OpenMMLab self-supervised learning toolbox and benchmark.
  • MMRazor: OpenMMLab model compression toolbox and benchmark.
  • MMFewShot: OpenMMLab fewshot learning toolbox and benchmark.
  • MMAction2: OpenMMLab's next-generation action understanding toolbox and benchmark.
  • MMTracking: OpenMMLab video perception toolbox and benchmark.
  • MMFlow: OpenMMLab optical flow toolbox and benchmark.
  • MMEditing: OpenMMLab image and video editing toolbox.
  • MMGeneration: OpenMMLab image and video generative models toolbox.
  • MMDeploy: OpenMMLab model deployment framework.

FAQ

If you face installation problems or runtime issues, you may first refer to thisFrequently Asked Questions to see if there is a solution. If the problem is still not solved, feel free to open anissue.

Citation

If you find this project useful in your research, please consider cite:

@misc{mmcv,    title={{MMCV: OpenMMLab} Computer Vision Foundation},    author={MMCV Contributors},    howpublished = {\url{https://github.com/open-mmlab/mmcv}},    year={2018}}

Contributing

We appreciate all contributions to improve MMCV. Please refer toCONTRIBUTING.md for the contributing guideline.

License

MMCV is released under the Apache 2.0 license, while some specific operations in this library are with other licenses. Please refer toLICENSES.md for the careful check, if you are using our code for commercial matters.

Packages

No packages published

Languages

  • Python52.3%
  • C++32.5%
  • Cuda14.8%
  • Other0.4%

[8]ページ先頭

©2009-2025 Movatter.jp