+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
#152http://data.lip6.fr/cadene/pretrainedmodels/ has no connection16 comments · 2019-04-30#120How to use Multi-GPU with pytorch1.0?9 comments · 2019-01-16#217Requesting pre-trained model variants trained on grayscale ImageNet10 comments · 2021-12-14#98xception load issue6 comments · 2018-10-28#81Evaluation Problem6 comments · 2018-08-01#52vggm not usable6 comments · 2018-04-06#193SSL: CERTIFICATE_VERIFY_FAILED5 comments · 2020-05-28#117BNInception architecture5 comments · 2018-12-27