OpenMMLab Pre-training Toolbox and Benchmark
 
 
 
 
Go to file
whcao 16947f1239
[Bug]Fix weight decay (#227)
* add imagenet bs 4096

* add vit_base_patch16_224_finetune

* add vit_base_patch16_224_pretrain

* add vit_base_patch16_384_finetune

* add vit_base_patch16_384_finetune

* add vit_b_p16_224_finetune_imagenet

* add vit_b_p16_224_pretrain_imagenet

* add vit_b_p16_384_finetune_imagenet

* add vit

* add vit

* add vit head

* vit unitest

* keep up with ClsHead

* test vit

* add flag to determiine whether to calculate acc during training

* Changes related to mmcv1.3.0

* change checkpoint saving interval to 10

* add label smooth

* default_runtime.py recovery

* docformatter

* docformatter

* delete 2 lines of comments

* delete configs/_base_/schedules/imagenet_bs4096.py

* add configs/_base_/schedules/imagenet_bs2048_AdamW.py

* rename imagenet_bs4096.py to imagenet_bs2048_AdamW.py

* add AutoAugment

* fix weight decay in vit

* change eval interval to 10

* add mytrain.py for test

* test before layers

* test attr in layers

* test classifier

* delete mytrain.py

* delete @torch.jit.ignore

* change eval interval back to 1

* add some comments to imagenet_bs2048_AdamW

* add some comments
2021-04-28 17:16:43 +08:00
.github [Fix] Fix version (#209) 2021-04-16 19:07:17 +08:00
configs [Bug]Fix weight decay (#227) 2021-04-28 17:16:43 +08:00
demo Visualize results on image demo (#58) 2020-10-10 16:33:27 +08:00
docs Add Chinese Readme and docs (#221) 2021-04-26 13:58:18 +08:00
docs_zh-CN Add Chinese Readme and docs (#221) 2021-04-26 13:58:18 +08:00
mmcls [Bug]Fix weight decay (#227) 2021-04-28 17:16:43 +08:00
requirements bump version to 0.10.0 (#194) 2021-04-01 10:39:18 +08:00
resources Add README 2020-07-12 00:06:54 +08:00
tests [Feature]Add Vit (#214) 2021-04-16 19:22:41 +08:00
tools [Feature]: add onnxruntime test tool (#212) 2021-04-26 13:57:08 +08:00
.gitignore bump version to 0.6.0 (#62) 2020-10-11 00:12:04 +08:00
.pre-commit-config.yaml Update CONTRIBUTING.md according to mmcv (#210) 2021-04-14 21:22:37 +08:00
.readthedocs.yml add .readthedocs.yml 2020-07-13 01:08:40 +08:00
LICENSE Update readme (#3) 2020-07-13 12:55:34 +08:00
README.md Add Chinese Readme and docs (#221) 2021-04-26 13:58:18 +08:00
README_zh-CN.md Add Chinese Readme and docs (#221) 2021-04-26 13:58:18 +08:00
model_zoo.yml [Feature] Adding PWC metafile (#225) 2021-04-28 17:07:26 +08:00
requirements.txt workflow: modify build, add deploy (#61) 2020-10-10 22:15:50 +08:00
setup.cfg remove unnecessary addopts (#164) 2021-02-25 14:09:03 +08:00
setup.py fix pypi release error (#64) 2020-10-11 00:26:34 +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.10.0 was released in 1/4/2021. Please refer to changelog.md for details and release history.

Benchmark and model zoo

Results and models are available in the model zoo.

Supported backbones:

  • ResNet
  • ResNeXt
  • SE-ResNet
  • SE-ResNeXt
  • RegNet
  • ShuffleNetV1
  • ShuffleNetV2
  • MobileNetV2
  • MobileNetV3

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 for finetuning models, adding new dataset, designing data pipeline, and adding new modules.

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