Skip to content

Instantly share code, notes, and snippets.

@GiulioCMSanto
Last active September 22, 2019 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GiulioCMSanto/2ef93be4c80305041731eae07f2dfdd3 to your computer and use it in GitHub Desktop.
Save GiulioCMSanto/2ef93be4c80305041731eae07f2dfdd3 to your computer and use it in GitHub Desktop.
Classifying Flowers With Transfer Learning
train_transforms = transforms.Compose([transforms.RandomRotation(30),
transforms.RandomResizedCrop(224),
transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
transforms.Normalize([0.485, 0.456, 0.406],
[0.229, 0.224, 0.225])])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment