/mmclassification

OpenMMLab Image Classification Toolbox and Benchmark

Primary LanguagePythonApache License 2.0Apache-2.0

Build Status Documentation Status codecov license PyPI Percentage of issues still open

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
  • Powerful toolkits

License

This project is released under the Apache 2.0 license.

Changelog

v0.19.0 was released in 31/12/2021.

Highlights of the new version:

  • The feature extraction function has been enhanced. See #593 for more details.
  • Provide the high-acc ResNet-50 training settings from ResNet strikes back.
  • Reproduce the training accuracy of T2T-ViT & RegNetX, and provide self-training checkpoints.
  • Support DeiT & Conformer backbone and checkpoints.
  • Provide a CAM visualization tool based on pytorch-grad-cam, and detailed user guide!

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!

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

Installation

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

Getting Started

Please see Getting Started for the basic usage of MMClassification. There are also tutorials:

Colab tutorials are also provided:

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.
  • MMHuman3D: OpenMMLab 3D Human Parametric Model Toolbox and Benchmark.
  • MMSelfSup: OpenMMLab self-supervised learning toolbox and benchmark.
  • MMRazor: OpenMMLab Model Compression Toolbox and Benchmark.
  • MMDeploy: OpenMMLab Model Deployment Framework.