OpenMMLab Pre-training Toolbox and Benchmark
 
 
 
 
Go to file
Ma Zerun bca695b684
[Refactor] Remove deprecation. (#633)
* Remove deprecated `--options` in some tools

* Remove deprecated eval hooks and fp16 hooks

* Remove deprecated mixup&cutmix, pretrained and return_tuple arguments.

* Remove deprecated `deprecated_options` in multi label dataset

* Remove deprecated `formating.py`

* Remove deprecated default mode of `LabelSmoothLoss`

* Revert pretrained argument, and remove it's deprecation sign.

* Update unit test
2022-02-10 09:30:18 +08:00
.circleci [CI] Use CircleCI to do unit tests. (#567) 2021-11-30 14:22:02 +08:00
.dev_scripts/benchmark_regression [Feature] Support ConvNeXt (#670) 2022-01-28 10:36:45 +08:00
.github Avoid CI for PRs that only modifiy configs 2022-01-25 17:52:37 +08:00
configs Bump version to v0.20.1 (#685) 2022-02-07 11:46:50 +08:00
demo [Feature] Add CAM visualization tool (#577) 2021-12-23 18:53:40 +08:00
docker Bump version to v0.20.1 (#685) 2022-02-07 11:46:50 +08:00
docs Bump version to v0.20.1 (#685) 2022-02-07 11:46:50 +08:00
mmcls [Refactor] Remove deprecation. (#633) 2022-02-10 09:30:18 +08:00
requirements Bump version to v0.20.1 (#685) 2022-02-07 11:46:50 +08:00
resources
tests [Refactor] Remove deprecation. (#633) 2022-02-10 09:30:18 +08:00
tools [Refactor] Remove deprecation. (#633) 2022-02-10 09:30:18 +08:00
.gitattributes Add .gitattributes 2021-12-07 11:55:58 +08:00
.gitignore Update gitignore and docs requirements 2021-12-29 14:26:43 +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 Merge branch 'dev' 2022-01-31 12:00:17 +08:00
README_zh-CN.md Merge branch 'dev' 2022-01-31 12:00:17 +08:00
model-index.yml [Feature] Support HRNet and add pre-trained models (#660) 2022-01-28 10:54:14 +08:00
requirements.txt workflow: modify build, add deploy (#61) 2020-10-10 22:15:50 +08:00
setup.cfg [Enhance] Add setup multi-processing both in train and test. (#671) 2022-01-27 10:18:36 +08:00
setup.py [Refactor] Deprecate the support for "python setup.py test" (#646) 2022-01-25 12:15:12 +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 master branch works with PyTorch 1.5+.

Major features

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

What's new

v0.20.0 was released in 30/1/2022.

Highlights of the new version:

  • Support K-fold cross-validation. The tutorial will be released later.
  • Support HRNet, ConvNeXt, Twins and EfficientNet.
  • Support model conversion from PyTorch to Core ML by a tool.

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!

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

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:

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

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