#199 · Primary category: Deep Learning Frameworks

pytorch-cnn-finetune

convolutional-neural-networks deep-learning pretrained-models pytorch

Fine-tune pretrained Convolutional Neural Networks with PyTorch

Project last updated:08/16/24

GitHub Stars

722

Forks

121

Contributors

2

License

MIT

Why we included this project

Training image classifiers in PyTorch usually means rewriting the same transfer-learning glue for every model you try. This small library collapses that into a single make_model() call: it wraps dozens of pretrained backbones (ResNet, DenseNet, VGG, Inception, Xception, SENet, NASNet and others) and automatically swaps in a classifier head sized for your own number of classes. You can also feed images at resolutions other than the original ImageNet size, which matters for VGG and AlexNet with their fully-connected layers. Teams building custom vision classifiers on top of ImageNet weights will save real time here, and the exposed preprocessing metadata (mean, std, input size) makes it easy to match training and inference. One caveat: the project is stable but lightly maintained, so treat it as a convenience layer rather than a dependency you should expect rapid updates from.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category