OpenMMLab Pre-training Toolbox and Benchmark
 
 
 
 
Go to file
Ma Zerun c48cfa9f47
[Docs] Improve the ResNet model page. (#1118)
* [Docs] Improve the ResNet model page.

* Fix lint.

* Update stat.py
2022-11-08 11:09:51 +08:00
.circleci [CI] Skip timm unit tests with the minimum version PyTorch. 2022-10-08 16:07:52 +08:00
.dev_scripts/benchmark_regression [Feature] Support HorNet Backbone for dev1.x. (#1094) 2022-11-04 15:33:46 +08:00
.github [Feature] Support MobileViT backbone. (#1068) 2022-10-18 17:05:59 +08:00
configs [Docs] Improve the ResNet model page. (#1118) 2022-11-08 11:09:51 +08:00
demo [Docs] Refactor get started docs and fix the demo and docker file. (#990) 2022-08-26 18:03:18 +08:00
docker Bump version to v1.0.0rc2. (#1084) 2022-10-12 16:52:31 +08:00
docs [Docs] Improve the ResNet model page. (#1118) 2022-11-08 11:09:51 +08:00
mmcls [Docs] Improve the ResNet model page. (#1118) 2022-11-08 11:09:51 +08:00
requirements [Docs] Improve the ResNet model page. (#1118) 2022-11-08 11:09:51 +08:00
resources
tests [Feature] Add reduction for neck (#978) 2022-11-04 15:44:37 +08:00
tools [Docs] Improve the ResNet model page. (#1118) 2022-11-08 11:09:51 +08:00
.coveragerc Mazerun/base classifier 2022-07-18 11:11:13 +08:00
.gitattributes Add .gitattributes 2021-12-07 11:55:58 +08:00
.gitignore [Feature] Support DeiT3. (#1065) 2022-10-10 14:54:20 +08:00
.pre-commit-config.yaml [Docs] Improve the ResNet model page. (#1118) 2022-11-08 11:09:51 +08:00
.readthedocs.yml
CITATION.cff
CONTRIBUTING.md Bump to v1.0.0rc0 (#1007) 2022-08-31 23:57:51 +08:00
LICENSE
MANIFEST.in [Fix] Add mim to extras_require in setup.py. (#872) 2022-06-15 20:54:52 +08:00
README.md [Feature] Support HorNet Backbone for dev1.x. (#1094) 2022-11-04 15:33:46 +08:00
README_zh-CN.md [Feature] Support HorNet Backbone for dev1.x. (#1094) 2022-11-04 15:33:46 +08:00
model-index.yml [Feature] Support HorNet Backbone for dev1.x. (#1094) 2022-11-04 15:33:46 +08:00
requirements.txt
setup.cfg [Enhance] Upgrade isort pre-commit hooks. (#687) 2022-02-17 02:17:20 +08:00
setup.py [Fix] Add mim to extras_require in setup.py. (#872) 2022-06-15 20:54:52 +08:00

README.md

Introduction

English | 简体中文

MMClassification is an open source image classification toolbox based on PyTorch. It is a part of the OpenMMLab project.

The 1.x branch works with PyTorch 1.6+.

Major features

  • Various backbones and pretrained models
  • Bag of training tricks
  • Large-scale training configs
  • High efficiency and extensibility
  • Powerful toolkits

What's new

v1.0.0rc2 was released in 12/10/2022.

  • Support Deit-3 backbone.
  • Fix MMEngine version requirements.

v1.0.0rc1 was released in 30/9/2022.

  • Support MViT, EdgeNeXt, Swin-Transformer V2, EfficientFormer and MobileOne.
  • Support BEiT type transformer layer.

v1.0.0rc0 was released in 31/8/2022.

This release introduced a brand new and flexible training & test engine, but it's still in progress. Welcome to try according to the documentation.

And there are some BC-breaking changes. Please check the migration tutorial.

The release candidate will last until the end of 2022, and during the release candidate, we will develop on the 1.x branch. And we will still maintain 0.x version still at least the end of 2023.

Please refer to changelog.md for more details and other release history.

Installation

Below are quick steps for installation:

conda create -n open-mmlab python=3.8 pytorch==1.10.1 torchvision==0.11.2 cudatoolkit=11.3 -c pytorch -y
conda activate open-mmlab
pip install openmim
git clone -b 1.x https://github.com/open-mmlab/mmclassification.git
cd mmclassification
mim install -e .

Please refer to install.md for more detailed installation and dataset preparation.

User Guides

We provided a series of tutorials about the basic usage of MMClassification for new users:

Model zoo

Results and models are available in the model zoo.

Supported backbones

Contributing

We appreciate all contributions to improve MMClassification. Please refer to CONTRUBUTING.md for the contributing guideline.

Acknowledgement

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

Citation

If 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}
}

License

This project is released under the Apache 2.0 license.

Projects in OpenMMLab

  • MMEngine: OpenMMLab foundational library for training deep learning models.
  • MMCV: OpenMMLab foundational library for computer vision.
  • MIM: MIM installs OpenMMLab packages.
  • MMEval: A unified evaluation library for multiple machine learning libraries.
  • 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.
  • MMYOLO: OpenMMLab YOLO series 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.