Skip to content

AramPapaz/AlexNetTransferLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

AlexNetTransferLearning

AlexNet was Fine Tuned to a binary classification task (Chair/Wine bottle)

  • Pretrained AlexNet model was first loaded using torchvision.

  • Uploaded the images I am interested in classifying (Chair/Wine bottle).

  • Randomly Augmented these images to increase sample size and variation (PIL).

  • Created Custom Dataset and DataLoader.

  • All the layers in AlexNet were frozen (requires_grad=False).

  • The last Linear Layer was replaced with a Sequential Layer (Linear and ReLU) with a drop out of .4.

  • This was fed to a sigmoid for my binary classification (Chair/Wine bottle).

  • Trained the newly added Sequential layer and Validated my model.

About

Fine Tuning AlexNet for Binary Classification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •