OpenMMLab Pre-training Toolbox and Benchmark
 
 
 
 
Go to file
Ma Zerun d25a78d547
[Enchance] Set a random seed when the user does not set a seed. (#554)
2021-12-02 18:09:55 +08:00
.circleci [CI] Use CircleCI to do unit tests. (#567) 2021-11-30 14:22:02 +08:00
.dev_scripts/benchmark_regression [Improvement] Rename config files according to the config name standard. (#508) 2021-11-19 14:20:35 +08:00
.github [CI] Skip build CI if only configs or docs modification. (#575) 2021-12-02 16:05:10 +08:00
configs [Enhance] Add metafile, readme and converted models for MLP-Mixer (#539) 2021-11-24 19:04:19 +08:00
demo [Docs] Add Copyright information. (#413) 2021-08-17 19:52:42 +08:00
docker Bump version to v0.18.0 (#569) 2021-11-30 19:04:38 +08:00
docs Bump version to v0.18.0 (#569) 2021-11-30 19:04:38 +08:00
docs_zh-CN Bump version to v0.18.0 (#569) 2021-11-30 19:04:38 +08:00
mmcls [Enchance] Set a random seed when the user does not set a seed. (#554) 2021-12-02 18:09:55 +08:00
requirements [Dependency] Update mmcv dependency version (#509) 2021-11-02 18:08:30 +08:00
resources
tests [Refactor] Use new API of matplotlib to handle blocking input in visualization. (#568) 2021-12-02 17:46:40 +08:00
tools [Enchance] Set a random seed when the user does not set a seed. (#554) 2021-12-02 18:09:55 +08:00
.gitignore [Enhance] Improve downstream repositories compatibility (#421) 2021-09-08 10:38:57 +08:00
.pre-commit-config.yaml [CI] Use CircleCI to do unit tests. (#567) 2021-11-30 14:22:02 +08:00
.readthedocs.yml Support output pdf version readthedocs document. (#382) 2021-07-31 14:11:50 +08:00
CITATION.cff [Docs] Add `CITATION.cff` (#428) 2021-09-01 17:07:27 +08:00
LICENSE [Docs] Add Copyright information. (#413) 2021-08-17 19:52:42 +08:00
MANIFEST.in [Feature] Support mim (#376) 2021-07-27 17:58:04 +08:00
README.md Bump version to v0.18.0 (#569) 2021-11-30 19:04:38 +08:00
README_zh-CN.md Bump version to v0.18.0 (#569) 2021-11-30 19:04:38 +08:00
model-index.yml [Enhance] Add metafile, readme and converted models for MLP-Mixer (#539) 2021-11-24 19:04:19 +08:00
requirements.txt workflow: modify build, add deploy (#61) 2020-10-10 22:15:50 +08:00
setup.cfg [Docs] Add abstract and image for every paper. (#546) 2021-11-24 17:23:37 +08:00
setup.py [Docs] Add `CITATION.cff` (#428) 2021-09-01 17:07:27 +08:00

README.md

Build Status Documentation Status codecov license

Introduction

English | 简体中文

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

Documentation: https://mmclassification.readthedocs.io/en/latest/

demo

Major features

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

License

This project is released under the Apache 2.0 license.

Changelog

v0.18.0 was released in 30/11/2021.

Highlights of the new version:

  • Support MLP-Mixer backbone and provide pre-trained checkpoints.
  • Add a tool to visualize the learning rate curve of the training phase. Welcome to use with the tutorial!

v0.17.0 was released in 29/10/2021.

Highlights of this version:

  • Support Tokens-to-Token ViT backbone and Res2Net backbone. Welcome to use!
  • Support ImageNet21k dataset.
  • Add a pipeline visualization tool. Try it with the tutorials!

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

Benchmark and model zoo

Results and models are available in the model zoo.

Supported backbones:

  • VGG
  • ResNet
  • ResNeXt
  • SE-ResNet
  • SE-ResNeXt
  • RegNet
  • ShuffleNetV1
  • ShuffleNetV2
  • MobileNetV2
  • MobileNetV3
  • Swin-Transformer
  • RepVGG
  • Vision-Transformer
  • Transformer-in-Transformer
  • Res2Net
  • MLP-Mixer
  • DeiT
  • Conformer
  • EfficientNet

Installation

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

Getting Started

Please see getting_started.md for the basic usage of MMClassification. There are also tutorials:

Colab tutorials are also provided. To learn about MMClassification Python API, you may preview the notebook here or directly run on Colab. To learn about MMClassification shell tools, you may preview the notebook here or directly run on Colab.

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

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.

Projects in OpenMMLab

  • MMCV: 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.
  • MMSegmentation: OpenMMLab semantic segmentation toolbox and benchmark.
  • MMAction2: OpenMMLab's next-generation action understanding toolbox and benchmark.
  • MMTracking: OpenMMLab video perception toolbox and benchmark.
  • MMPose: OpenMMLab pose estimation toolbox and benchmark.
  • MMEditing: OpenMMLab image and video editing toolbox.
  • MMOCR: OpenMMLab toolbox for text detection, recognition and understanding.
  • MMGeneration: OpenMMlab toolkit for generative models.
  • MMFlow OpenMMLab optical flow toolbox and benchmark.
  • MMFewShot: OpenMMLab FewShot Learning Toolbox and Benchmark.