Skip to main content

OpenMMLab Image Classification Toolbox and Benchmark

Project description

 
OpenMMLab website HOT      OpenMMLab platform TRY IT OUT
 

PyPI Docs Build Status codecov license open issues issue resolution

📘 Documentation | 🛠️ Installation | 👀 Model Zoo | 🆕 Update News | 🤔 Reporting Issues

:point_right: MMClassification 1.0 branch is in trial, welcome every to try it and discuss with us! :point_left:

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

The MMClassification 1.0 has released! It's still unstable and in release candidate. If you want to try it, go to the 1.x branch and discuss it with us in the discussion.

v0.25.0 was released in 06/12/2022. Highlights of the new version:

  • Support MLU backend.
  • Add dist_train_arm.sh for ARM device.

v0.24.1 was released in 31/10/2022. Highlights of the new version:

  • Support HUAWEI Ascend device.

v0.24.0 was released in 30/9/2022. Highlights of the new version:

  • Support HorNet, EfficientFormerm, SwinTransformer V2 and MViT backbones.
  • Support Standford Cars dataset.

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 cudatoolkit=11.3 torchvision==0.11.0 -c pytorch -y
conda activate open-mmlab
pip3 install openmim
mim install mmcv-full
git clone https://github.com/open-mmlab/mmclassification.git
cd mmclassification
pip3 install -e .

Please refer to install.md for more detailed 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.
  • MMRotate: OpenMMLab rotated object detection 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.

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.25.0.tar.gz (307.9 kB view details)

Uploaded Source

Built Distribution

mmcls-0.25.0-py2.py3-none-any.whl (648.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: mmcls-0.25.0.tar.gz
  • Upload date:
  • Size: 307.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for mmcls-0.25.0.tar.gz
Algorithm Hash digest
SHA256 a88c9eb80a49aa7dd638991be1c9dea54e8a1f769dfafb77083a5bd17953fc44
MD5 1c3a899f73be4cbfad4ffb8b03cca7f7
BLAKE2b-256 86b08cca8a5667c62e8e45bdbcbc2c56640978c08e1622ecf15acb721bcf3239

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mmcls-0.25.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 648.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for mmcls-0.25.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 37127121dc0505bd7cac6736c8c220e56bbcdaa91994d6296463bf0ede0ab1b4
MD5 db2036e425b91b6136e6e5bc9e115321
BLAKE2b-256 1f7d19588f57c22f4053ca2db92c691fbea556899f407fe7bb03ed42b37f07ef

See more details on using hashes here.

Supported by

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