Imgclsmob
Sandbox for training deep learning networks
Install / Use
/learn @osmr/ImgclsmobREADME
Deep learning networks
This repo is used to research convolutional networks primarily for computer vision tasks. For this purpose, the repo contains (re)implementations of various classification, segmentation, detection, and pose estimation models and scripts for training/evaluating/converting.
The following frameworks are used:
For each supported framework, there is a PIP-package containing pure models without auxiliary scripts. List of packages:
- gluoncv2 for Gluon,
- pytorchcv for PyTorch,
- chainercv2 for Chainer,
- kerascv for Keras,
- tensorflowcv for TensorFlow 1.x,
- tf2cv for TensorFlow 2.x.
Currently, models are mostly implemented on Gluon and then ported to other frameworks. Some models are pretrained on ImageNet-1K, CIFAR-10/100, SVHN, CUB-200-2011, Pascal VOC2012, ADE20K, Cityscapes, and COCO datasets. All pretrained weights are loaded automatically during use. See examples of such automatic loading of weights in the corresponding sections of the documentation dedicated to a particular package:
- Gluon models,
- PyTorch models,
- Chainer models,
- Keras models,
- TensorFlow 1.x models,
- TensorFlow 2.x models.
Installation
To use training/evaluating scripts as well as all models, you need to clone the repository and install dependencies:
git clone git@github.com:osmr/imgclsmob.git
pip install -r requirements.txt
Table of implemented classification models
Some remarks:
Repois an author repository, if it exists.a,b,c,d, andemeans the implementation of a model for ImageNet-1K, CIFAR-10, CIFAR-100, SVHN, and CUB-200-2011, respectively.A,B,C,D, andEmeans having a pre-trained model for corresponding datasets.
| Model | Gluon | PyTorch | Chainer | Keras | TF | TF2 | Paper | Repo | Year | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | AlexNet | A | A | A | A | A | A | link | link | 2012 | | ZFNet | A | A | A | A | A | A | link | - | 2013 | | VGG | A | A | A | A | A | A | link | - | 2014 | | BN-VGG | A | A | A | A | A | A | link | - | 2015 | | BN-Inception | A | A | A | - | - | A | link | - | 2015 | | ResNet | ABCDE | ABCDE | ABCDE | A | A | ABCDE | link | link | 2015 | | PreResNet | ABCD | ABCD | ABCD | A | A | ABCD | link | link | 2016 | | ResNeXt | ABCD | ABCD | ABCD | A | A | ABCD | link | link | 2016 | | SENet | A | A | A | A | A | A | link | link | 2017 | | SE-ResNet | ABCDE | ABCDE | ABCDE | A | A | ABCDE | link | link | 2017 | | SE-PreResNet | ABCD | ABCD | ABCD | A | A | ABCD | link | link | 2017 | | SE-ResNeXt | A | A | A | A | A | A | link | link | 2017 | | ResNeSt(A) | A | A | A | - | - | A | link | link | 2020 | | IBN-ResNet | A | A | - | - | - | A | link | link | 2018 | | IBN-ResNeXt | A | A | - | - | - | A | link | link | 2018 | | IBN-DenseNet | A | A | - | - | - | A | link | link | 2018 | | AirNet | A | A | A | - | - | A | link | link | 2018 | | AirNeXt | A | A | A | - | - | A | link | link | 2018 | | BAM-ResNet | A | A | A | - | - | A | link | link | 2018 | | CBAM-ResNet | A | A | A | - | - | A | link | link | 2018 | | ResAttNet | a | a | a | - | - | - | link | link | 2017 | | SKNet | a | a | a | - | - | - | link | link | 2019 | | SCNet | A | A | A | - | - | A | link | link | 2020 | | RegNet | A | A | A | - | - | A | link | link | 2020 | | DIA-ResNet | aBCD | aBCD | aBCD | - | - | - | link | link | 2019 | | DIA-PreResNet | aBCD | aBCD | aBCD | - | - | - | link | link | 2019 | | PyramidNet | ABCD | ABCD | ABCD | - | - | ABCD | link | link | 2016 | | DiracNetV2 | A | A | A | - | - | A | link | link | 2017 | | ShaResNet | a | a | a | - | - | - | link | link | 2017 | | CRU-Net | A | - | - | - | - | - | link | link | 2018 | | DenseNet | ABCD | ABCD | ABCD | A | A | ABCD | link | link | 2016 | | CondenseNet | A | A | A | - | - | - | link | link | 2017 | | SparseNet | a | a | a | - | - | - | link | link | 2018 | | PeleeNet | A | A | A | - | - | A | link | link | 2018 | | Oct-ResNet | abcd | a | a | - | - | - | link | - | 2019 | | Res2Net | a | - | - | - | - | - | link | - | 2019 | | WRN | ABCD | ABCD | ABCD | - | - | a | link | link | 2016 | | WRN-1bit | BCD | BCD | BCD | - | - | - | link | link | 2018 | | DRN-C | A | A | A | - | - | A | link | link | 2017 | | DRN-D | A | A | A | - | - | A | link | link | 2017 | | DPN | A | A | A | - | - | A | link | link | 2017 | | DarkNet Ref | A | A | A | A | A | A | link | link | - | | DarkNet Tiny | A | A | A | A | A | A | link | link | - | | DarkNet-19 | a | a | a | a | a | a | link | link | - | | DarkNet-53 | A | A | A | A | A | A | link | link | 2018 | | ChannelNet | a | a | a | - | a | - | link | link | 2018 | | iSQRT-COV-ResNet | a | a | - | - | - | - | link | link | 2017 | | RevNet | - | a | - | - | - | - | link | link | 2017 | | i-RevNet | A | A | A | - | - | - | link | [link](https://github.com/jhjacobsen/pytorch-i-revnet
