-
download images from https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html
wget https://download.pytorch.org/tutorial/hymenoptera_data.zip
unzip hymenoptera_data.zip
The diretory tree is:
hymenoptera_data
--train
---ants ---bees
--val
---ants ---bees
-
python3 example1.py
-
copy all images to data
-
python3 example2.py
python3.6 torch0.4.1