Skip to main content

OpenMMLab Image Classification Toolbox and Benchmark

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mmcls-0.20.1.tar.gz (236.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mmcls-0.20.1-py2.py3-none-any.whl (490.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file mmcls-0.20.1.tar.gz.

File metadata

  • Download URL: mmcls-0.20.1.tar.gz
  • Upload date:
  • Size: 236.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

File hashes

Hashes for mmcls-0.20.1.tar.gz
Algorithm Hash digest
SHA256 28460b4ae32efd6baaf532ead8d9de9426486511815a8a6cc13b6f05a410e987
MD5 68c2b1c8f73a95f48ca92f647dc75b15
BLAKE2b-256 170baeb8a0e039e588bfaa212025ea38a37b6b44caaa44459c1ad10ec6108d80

See more details on using hashes here.

File details

Details for the file mmcls-0.20.1-py2.py3-none-any.whl.

File metadata

  • Download URL: mmcls-0.20.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 490.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12

File hashes

Hashes for mmcls-0.20.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7cc4bc91f87af87114fcc8e71c984fe53b5318fd8aea438bb5557dd27ca192cb
MD5 0dd8be3627ca5f58d8a661988a698d61
BLAKE2b-256 f6f69464bc39ea63e33b64d4ba1d33df2d83e35f674640ba71b74e2c910ec5e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page