my_distiller

my distillation runner based on mmcls

https://github.com/stlmx/my_distiller

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary

Scientific Fields

Artificial Intelligence and Machine Learning Computer Science - 44% confidence
Engineering Computer Science - 40% confidence
Last synced: 4 months ago · JSON representation ·

Repository

my distillation runner based on mmcls

Basic Info
  • Host: GitHub
  • Owner: stlmx
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 10.9 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 3 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Contributing License Citation

README.md

 
OpenMMLab website HOT      OpenMMLab platform TRY IT OUT
 
[![PyPI](https://img.shields.io/pypi/v/mmcls)](https://pypi.org/project/mmcls) [![Docs](https://img.shields.io/badge/docs-latest-blue)](https://mmclassification.readthedocs.io/en/1.x/) [![Build Status](https://github.com/open-mmlab/mmclassification/workflows/build/badge.svg)](https://github.com/open-mmlab/mmclassification/actions) [![codecov](https://codecov.io/gh/open-mmlab/mmclassification/branch/1.x/graph/badge.svg)](https://codecov.io/gh/open-mmlab/mmclassification) [![license](https://img.shields.io/github/license/open-mmlab/mmclassification.svg)](https://github.com/open-mmlab/mmclassification/blob/1.x/LICENSE) [![open issues](https://isitmaintained.com/badge/open/open-mmlab/mmclassification.svg)](https://github.com/open-mmlab/mmclassification/issues) [![issue resolution](https://isitmaintained.com/badge/resolution/open-mmlab/mmclassification.svg)](https://github.com/open-mmlab/mmclassification/issues) [📘 Documentation](https://mmclassification.readthedocs.io/en/1.x/) | [🛠️ Installation](https://mmclassification.readthedocs.io/en/dev-1.x/get_started.html#installation) | [👀 Model Zoo](https://mmclassification.readthedocs.io/en/1.x/modelzoo_statistics.html) | [🆕 Update News](https://mmclassification.readthedocs.io/en/1.x/notes/changelog.html) | [🤔 Reporting Issues](https://github.com/open-mmlab/mmclassification/issues/new/choose)

Introduction

English | 简体中文

MMClassification is an open source image classification toolbox based on PyTorch. It is a part of the OpenMMLab project.

The 1.x branch works with PyTorch 1.6+.

Major features

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

What's new

v1.0.0rc5 was released in 30/12/2022

  • Support EVA, RevViT, EfficientnetV2, CLIP, TinyViT and MixMIM backbones.
  • Reproduce the training accuracy of ConvNeXt and RepVGG.
  • Support multi-task training and testing. See #1229 for more details.
  • Support Test-time Augmentation. See #1161 for more details.

v1.0.0rc4 was released in 06/12/2022.

  • Upgrade API to get pre-defined models of MMClassification. See #1236 for more details.
  • Refactor BEiT backbone and support v1/v2 inference. See #1144.

v1.0.0rc3 was released in 21/11/2022.

  • Add Switch Recipe Hook, Now we can modify training pipeline, mixup and loss settings during training, see #1101.
  • Add TIMM and HuggingFace wrappers. Now you can train/use models in TIMM/HuggingFace directly, see #1102.
  • Support retrieval tasks, see #1055.
  • Reproduce mobileone training accuracy. See #1191

This release introduced a brand new and flexible training & test engine, but it's still in progress. Welcome to try according to the documentation.

And there are some BC-breaking changes. Please check the migration tutorial.

The release candidate will last until the end of 2022, and during the release candidate, we will develop on the 1.x branch. And we will still maintain 0.x version still at least the end of 2023.

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

Installation

Below are quick steps for installation:

shell conda create -n open-mmlab python=3.8 pytorch==1.10.1 torchvision==0.11.2 cudatoolkit=11.3 -c pytorch -y conda activate open-mmlab pip install openmim git clone -b 1.x https://github.com/open-mmlab/mmclassification.git cd mmclassification mim install -e .

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

User Guides

We provided a series of tutorials about the basic usage of MMClassification for new users:

Model zoo

Results and models are available in the model zoo.

Supported backbones - [x] [VGG](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/vgg) - [x] [ResNet](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/resnet) - [x] [ResNeXt](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/resnext) - [x] [SE-ResNet](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/seresnet) - [x] [SE-ResNeXt](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/seresnet) - [x] [RegNet](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/regnet) - [x] [ShuffleNetV1](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/shufflenet_v1) - [x] [ShuffleNetV2](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/shufflenet_v2) - [x] [MobileNetV2](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/mobilenet_v2) - [x] [MobileNetV3](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/mobilenet_v3) - [x] [Swin-Transformer](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/swin_transformer) - [x] [Swin-Transformer V2](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/swin_transformer_v2) - [x] [RepVGG](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/repvgg) - [x] [Vision-Transformer](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/vision_transformer) - [x] [Transformer-in-Transformer](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/tnt) - [x] [Res2Net](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/res2net) - [x] [MLP-Mixer](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/mlp_mixer) - [x] [DeiT](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/deit) - [x] [DeiT-3](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/deit3) - [x] [Conformer](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/conformer) - [x] [T2T-ViT](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/t2t_vit) - [x] [Twins](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/twins) - [x] [EfficientNet](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/efficientnet) - [x] [EdgeNeXt](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/edgenext) - [x] [ConvNeXt](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/convnext) - [x] [HRNet](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/hrnet) - [x] [VAN](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/van) - [x] [ConvMixer](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/convmixer) - [x] [CSPNet](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/cspnet) - [x] [PoolFormer](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/poolformer) - [x] [Inception V3](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/inception_v3) - [x] [MobileOne](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/mobileone) - [x] [EfficientFormer](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/efficientformer) - [x] [MViT](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/mvit) - [x] [HorNet](https://github.com/open-mmlab/mmclassification/tree/master/configs/hornet) - [x] [MobileViT](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/mobilevit) - [x] [DaViT](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/davit) - [x] [RepLKNet](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/replknet) - [x] [BEiT](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/beit) / [BEiT v2](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/beitv2) - [x] [EVA](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/eva) - [x] [MixMIM](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/mixmim) - [x] [EfficientNetV2](https://github.com/open-mmlab/mmclassification/tree/1.x/configs/efficientnet_v2)

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:

BibTeX @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

  • MMEngine: OpenMMLab foundational library for training deep learning models.
  • MMCV: OpenMMLab foundational library for computer vision.
  • MIM: MIM installs OpenMMLab packages.
  • MMEval: A unified evaluation library for multiple machine learning libraries.
  • 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.
  • MMYOLO: OpenMMLab YOLO series 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.

Owner

  • Name: xjtu_lmx
  • Login: stlmx
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "OpenMMLab's Image Classification Toolbox and Benchmark"
authors:
  - name: "MMClassification Contributors"
version: 0.15.0
date-released: 2020-07-09
repository-code: "https://github.com/open-mmlab/mmclassification"
license: Apache-2.0

GitHub Events

Total
Last Year

Dependencies

.github/workflows/deploy.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/lint.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/pr_stage_test.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v1.0.14 composite
.github/workflows/publish-to-pypi.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/test_mim.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
tests/data/meta.yml cpan
.circleci/docker/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
docker/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
docker/serve/Dockerfile docker
  • pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
requirements/docs.txt pypi
  • docutils ==0.17.1
  • modelindex *
  • myst-parser *
  • pytorch_sphinx_theme *
  • sphinx ==4.5.0
  • sphinx-copybutton *
  • sphinx-notfound-page *
  • sphinx-tabs *
  • tabulate *
requirements/mminstall.txt pypi
  • mmcv >=2.0.0rc1,<=2.0.0
  • mmengine >=0.4.0,<1.0.0
requirements/optional.txt pypi
  • albumentations >=0.3.2
  • colorama *
  • requests *
requirements/readthedocs.txt pypi
  • mmcv >=2.0.0rc1
  • mmengine *
  • torch *
  • torchvision *
requirements/runtime.txt pypi
  • matplotlib *
  • modelindex *
  • numpy *
  • packaging *
  • rich *
requirements/tests.txt pypi
  • codecov * test
  • flake8 * test
  • interrogate * test
  • isort ==4.3.21 test
  • mmdet >=3.0.0rc0 test
  • pytest * test
  • scikit-learn * test
  • xdoctest >=0.10.0 test
  • yapf * test
requirements.txt pypi
setup.py pypi