Cadene /pretrained-models.pytorch

Pretrained ConvNets for pytorch: NASNet, ResNeXt, ResNet, InceptionV4, InceptionResnetV2, Xception, DPN, etc.

★ 9,101⑂ 1,799👁 205⑃ 51● 186▤ 0
PythonBSD-3-ClauseCreated 2017-04-09
+0
Daily
9,101
stars
1,799
forks
205
watchers
51
prs
186
issues
0
releases

README

Pretrained models for Pytorch (Work in progress)

The goal of this repo is:

- to help to reproduce research papers results (transfer learning setups for instance),
- to access pretrained ConvNets with a unique interface/API inspired by torchvision.



News:
- 27/10/2018: Fix compatibility issues, Add tests, Add travis
- 04/06/2018: PolyNet and PNASNet-5-Large thanks to Alex Parinov
- 16/04/2018: SE-ResNet and SE-ResNeXt thanks to Alex Parinov
- 09/04/2018: SENet154 thanks to Alex Parinov
- 22/03/2018: CaffeResNet101 (good for localization with FasterRCNN)
- 21/03/2018: NASNet Mobile thanks to Veronika Yurchuk and Anastasiia
- 25/01/2018: DualPathNetworks thanks to Ross Wightman, Xception thanks to T Standley, improved TransformImage API
- 13/01/2018: pip install pretrainedmodels, pretrainedmodels.model_names, pretrainedmodels.pretrained_settings
- 12/01/2018: python setup.py install
- 08/12/2017: update data url (/!\ git pull is needed)
- 30/11/2017: improve API (model.features(input), model.logits(features), model.forward(input), model.last_linear)
- 16/11/2017: nasnet-a-large pretrained model ported by T. Durand and R. Cadene
- 22/07/2017: torchvision pretrained models
- 22/07/2017: momentum in inceptionv4 and inceptionresnetv2 to 0.1
- 17/07/2017: model.input_range attribut
- 17/07/2017: BNInception pretrained on Imagenet

 Summary

- Installation
- Quick examples
- Few use cases
    - Compute imagenet logits
    - Compute imagenet validation metrics
- Evaluation on ImageNet
    - Accuracy on valset
    - Reproducing results
- Documentation
    - Available models
        - AlexNet
        - BNInception
        - CaffeResNet101
        - DenseNet121
        - DenseNet161
        - DenseNet169
        - DenseNet201
        - DenseNet201
        - DualPathNet68
        - DualPathNet92
        - DualPathNet98
        - DualPathNet107
        - DualPathNet113
        - FBResNet152
        - InceptionResNetV2
        - InceptionV3
        - InceptionV4
        - NASNet-A-Large
        - NASNet-A-Mobile
        - PNASNet-5-Large
        - PolyNet
        - ResNeXt101_32x4d
        - ResNeXt101_64x4d
        - ResNet101
        - ResNet152
        - ResNet18
        - ResNet34
        - ResNet50
        - SENet154
        - SE-ResNet50
        - SE-ResNet101
        - SE-ResNet152
        - SE-ResNeXt50_32x4d
        - SE-ResNeXt101_32x4d
        - SqueezeNet1_0
        - SqueezeNet1_1
        - VGG11
        - VGG13
        - VGG16
        - VGG19
        - VGG11_BN
        - VGG13_BN
        - VGG16_BN
        - VGG19_BN
        - Xception
    - Model API
        - model.input_size
        - model.input_space
        - model.input_range
        - model.mean
        - model.std
        - model.features
        - model.logits
        - model.forward
- Reproducing porting
    - ResNet
    - ResNeXt
    - Inception

 Installation

1. python3 with anaconda
2. pytorch with/out CUDA

 Install from pip

3. pip install pretrainedmodels

 Install from repo

Top issues

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON