All Projects → Spandan-Madan → Pytorch_fine_tuning_tutorial

Spandan-Madan / Pytorch_fine_tuning_tutorial

A short tutorial on performing fine tuning or transfer learning in PyTorch.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pytorch fine tuning tutorial

Pytorch Image Classification
Tutorials on how to implement a few key architectures for image classification using PyTorch and TorchVision.
Stars: ✭ 272 (+13.33%)
Mutual labels:  tutorial, pytorch-tutorials, image-classification
Pytorch Seq2seq
Tutorials on implementing a few sequence-to-sequence (seq2seq) models with PyTorch and TorchText.
Stars: ✭ 3,418 (+1324.17%)
Mutual labels:  tutorial, pytorch-tutorials
Pytorch Sentiment Analysis
Tutorials on getting started with PyTorch and TorchText for sentiment analysis.
Stars: ✭ 3,209 (+1237.08%)
Mutual labels:  tutorial, pytorch-tutorials
Pytorch Book
PyTorch tutorials and fun projects including neural talk, neural style, poem writing, anime generation (《深度学习框架PyTorch:入门与实战》)
Stars: ✭ 9,546 (+3877.5%)
Mutual labels:  pytorch-tutorials, image-classification
Have Fun With Machine Learning
An absolute beginner's guide to Machine Learning and Image Classification with Neural Networks
Stars: ✭ 4,912 (+1946.67%)
Mutual labels:  tutorial, image-classification
Computervision Recipes
Best Practices, code samples, and documentation for Computer Vision.
Stars: ✭ 8,214 (+3322.5%)
Mutual labels:  tutorial, image-classification
Pytorch Pos Tagging
A tutorial on how to implement models for part-of-speech tagging using PyTorch and TorchText.
Stars: ✭ 96 (-60%)
Mutual labels:  tutorial, pytorch-tutorials
Java8 Tutorial
Modern Java - A Guide to Java 8
Stars: ✭ 15,276 (+6265%)
Mutual labels:  tutorial
Wordpress Plugin Boilerplate Tutorial
Tutorials and Examples for WordPress Plugin Boilerplate, a foundation for WordPress Plugin Development.
Stars: ✭ 232 (-3.33%)
Mutual labels:  tutorial
Machine Learning Resources
A curated list of awesome machine learning frameworks, libraries, courses, books and many more.
Stars: ✭ 226 (-5.83%)
Mutual labels:  tutorial
Clang Tutor
A collection of out-of-tree Clang plugins for teaching and learning
Stars: ✭ 223 (-7.08%)
Mutual labels:  tutorial
Journal Aws Amplify Tutorial
Step by step tutorial to build a personal journal web app with aws-amplify
Stars: ✭ 227 (-5.42%)
Mutual labels:  tutorial
Redux Simple Tutorial
Redux 莞式教程。本教程深入浅出,配套入门、进阶源码解读以及文档注释丰满的 Demo 等一条龙服务
Stars: ✭ 2,610 (+987.5%)
Mutual labels:  tutorial
Pytorch Handbook
pytorch handbook是一本开源的书籍,目标是帮助那些希望和使用PyTorch进行深度学习开发和研究的朋友快速入门,其中包含的Pytorch教程全部通过测试保证可以成功运行
Stars: ✭ 15,817 (+6490.42%)
Mutual labels:  pytorch-tutorials
Ten Rules
Ten simple rules for better figures
Stars: ✭ 236 (-1.67%)
Mutual labels:  tutorial
Pvview
A small library that helps you to make an amazing parallax view
Stars: ✭ 227 (-5.42%)
Mutual labels:  tutorial
Wildcat.pytorch
PyTorch implementation of "WILDCAT: Weakly Supervised Learning of Deep ConvNets for Image Classification, Pointwise Localization and Segmentation", CVPR 2017
Stars: ✭ 238 (-0.83%)
Mutual labels:  image-classification
Pytorch Vae
A Variational Autoencoder (VAE) implemented in PyTorch
Stars: ✭ 237 (-1.25%)
Mutual labels:  pytorch-tutorials
Person reid baseline pytorch
Pytorch ReID: A tiny, friendly, strong pytorch implement of object re-identification baseline. Tutorial 👉https://github.com/layumi/Person_reID_baseline_pytorch/tree/master/tutorial
Stars: ✭ 2,963 (+1134.58%)
Mutual labels:  tutorial
Graphql Ruby
GraphQL Ruby example for How To GraphQL
Stars: ✭ 231 (-3.75%)
Mutual labels:  tutorial

mit-logo

alt_tag

Pytorch Tutorial for Fine Tuning/Transfer Learning a Resnet for Image Classification

If you want to do image classification by fine tuning a pretrained mdoel, this is a tutorial will help you out. It shows how to perform fine tuning or transfer learning in PyTorch with your own data. It is based on a bunch of of official pytorch tutorials/examples. I felt that it was not exactly super trivial to perform in PyTorch, and so I thought I'd release my code as a tutorial which I wrote originally for my research.

Highly encourage you to run this on a new data set (read main_fine_tuning.py to know which format to store your data in), but for a sample dataset to start with, you can download a simple 2 class dataset from here - https://download.pytorch.org/tutorial/hymenoptera_data.zip

All Torch and PyTorch specific details have been explained in detail in the file main_fine_tuning.py

Hope this tutorial helps you out! :)

Credits - This tutorial is built on top of mainly on 2 Pytorch tutorials - http://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html and https://github.com/pytorch/examples/tree/master/imagenet.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].