资源算法Pytorch_fine_tuning_Tutorial

Pytorch_fine_tuning_Tutorial

2019-10-12 | |  170 |   0 |   0

68747470733a2f2f637361696c707265747479636f6d6d69747465652e6d69742e6564752f73697465732f64656661756c742f66696c65732f696d616765732f4d49545f6c6f676f2e706e67.png

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.


上一篇:pytorch_tutorial

下一篇:pytorch_exercises

用户评价
全部评价

热门资源

  • TensorFlow-Course

    This repository aims to provide simple and read...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • mxnet_VanillaCNN

    This is a mxnet implementation of the Vanilla C...

  • tensorflow-sketch...

    Discrlaimer: This is not an official Google pro...

  • vsepp_tensorflow

    Improving Visual-Semantic Embeddings with Hard ...