Package: mmcls
OpenMMLab websiteHOTOpenMMLab platformTRY IT OUT📘 Documentation|🛠️ Installation|👀 Model Zoo|🆕 Update News|🤔 Reporting Issues:point_right:MMClassification 1.0 branch is in trial, welcome every totry itanddiscuss with us!:point_left:IntroductionEnglish |简体中文MMClassification is an open source image classification toolbox based on PyTorch. It is
a part of theOpenMMLabproject.The master branch works withPyTorch 1.5+.Major featuresVarious backbones and pretrained modelsBag of training tricksLarge-scale training configsHigh efficiency and extensibilityPowerful toolkitsWhat's newThe MMClassification 1.0 has released! It's still unstable and in release candidate. If you want to try it, go
tothe 1.x branchand discuss it with us inthe discussion.v0.25.0 was released in 06/12/2022.
Highlights of the new version:Support MLU backend.Adddist_train_arm.shfor ARM device.v0.24.1 was released in 31/10/2022.
Highlights of the new version:Support HUAWEI Ascend device.v0.24.0 was released in 30/9/2022.
Highlights of the new version:SupportHorNet,EfficientFormerm,SwinTransformer V2andMViTbackbones.Support Standford Cars dataset.Please refer tochangelog.mdfor more details and other release history.InstallationBelow are quick steps for installation:condacreate-nopen-mmlabpython=3.8pytorch=1.10cudatoolkit=11.3torchvision==0.11.0-cpytorch-y
condaactivateopen-mmlab
pip3installopenmim
miminstallmmcv-full
gitclonehttps://github.com/open-mmlab/mmclassification.gitcdmmclassification
pip3install-e.Please refer toinstall.mdfor more detailed installation and dataset preparation.Getting StartedPlease seeGetting Startedfor the basic usage of MMClassification. There are also tutorials:Learn about ConfigsFine-tune ModelsAdd New DatasetCustomizie Data PipelineAdd New ModulesCustomizie ScheduleCustomizie Runtime SettingsColab tutorials are also provided:Learn about MMClassificationPython API:Preview the notebookor directlyrun on Colab.Learn about MMClassificationCLI tools:Preview the notebookor directlyrun on Colab.Model zooResults and models are available in themodel zoo.Supported backbonesVGGResNetResNeXtSE-ResNetSE-ResNeXtRegNetShuffleNetV1ShuffleNetV2MobileNetV2MobileNetV3Swin-TransformerRepVGGVision-TransformerTransformer-in-TransformerRes2NetMLP-MixerDeiTConformerT2T-ViTTwinsEfficientNetConvNeXtHRNetVANConvMixerCSPNetPoolFormerMViTEfficientFormerHorNetContributingWe appreciate all contributions to improve MMClassification.
Please refer toCONTRUBUTING.mdfor the contributing guideline.AcknowledgementMMClassification is an open source project that is contributed by researchers and engineers from various colleges and companies. We appreciate all the contributors who implement their methods or add new features, as well as users who give valuable feedbacks.
We wish that the toolbox and benchmark could serve the growing research community by providing a flexible toolkit to reimplement existing methods and develop their own new classifiers.CitationIf you find this project useful in your research, please consider cite:@misc{2020mmclassification,title={OpenMMLab's Image Classification Toolbox and Benchmark},author={MMClassification Contributors},howpublished={\url{https://github.com/open-mmlab/mmclassification}},year={2020}}LicenseThis project is released under theApache 2.0 license.Projects in OpenMMLabMMCV: OpenMMLab foundational library for computer vision.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.