{"id":16966415,"url":"https://github.com/spandan-madan/pytorch_fine_tuning_tutorial","last_synced_at":"2025-04-13T08:18:01.365Z","repository":{"id":130773704,"uuid":"101129486","full_name":"Spandan-Madan/Pytorch_fine_tuning_Tutorial","owner":"Spandan-Madan","description":"A short tutorial on performing fine tuning or transfer learning in PyTorch.","archived":false,"fork":false,"pushed_at":"2018-09-14T06:46:06.000Z","size":92288,"stargazers_count":281,"open_issues_count":5,"forks_count":63,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-13T08:17:45.137Z","etag":null,"topics":["deep-learning","image-classification","pytorch-tutorials","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Spandan-Madan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-23T02:38:50.000Z","updated_at":"2025-03-08T06:58:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"50d36c05-b8ef-4941-a2b2-4523d6cab145","html_url":"https://github.com/Spandan-Madan/Pytorch_fine_tuning_Tutorial","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"4699392d7287745e4bc79568421b488c50c1e4b8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spandan-Madan%2FPytorch_fine_tuning_Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spandan-Madan%2FPytorch_fine_tuning_Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spandan-Madan%2FPytorch_fine_tuning_Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spandan-Madan%2FPytorch_fine_tuning_Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spandan-Madan","download_url":"https://codeload.github.com/Spandan-Madan/Pytorch_fine_tuning_Tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681519,"owners_count":21144703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","image-classification","pytorch-tutorials","tutorial"],"created_at":"2024-10-14T00:05:44.974Z","updated_at":"2025-04-13T08:18:01.332Z","avatar_url":"https://github.com/Spandan-Madan.png","language":"Python","readme":"![mit-logo](https://csailprettycommittee.mit.edu/sites/default/files/images/MIT_logo.png)\n\n![alt_tag](https://raw.githubusercontent.com/pytorch/pytorch/master/docs/source/_static/img/pytorch-logo-dark.png)\n\n# Pytorch Tutorial for Fine Tuning/Transfer Learning a Resnet for Image Classification\n\nIf 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. \n\nHighly 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\n\nAll Torch and PyTorch specific details have been explained in detail in the file main_fine_tuning.py\n\nHope this tutorial helps you out! :)\n\nCredits - 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.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspandan-madan%2Fpytorch_fine_tuning_tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspandan-madan%2Fpytorch_fine_tuning_tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspandan-madan%2Fpytorch_fine_tuning_tutorial/lists"}