Path: blob/master/PyTorch-Multi-Label-Image-Classification-Image-Tagging/README.md
3118 views
Setup
Before installation create and activate virtual environment
Install the dependencies
Training
For training run jupyter notebook
Additional instructions
Data preparation
We use the NUS-WIDE dataset for this tutorial. Instead of parsing Flickr for image downloading we use a dump from this github repository Download and extract it.
Also, we added pre-processed annotations:
nus_wide/train.json
nus_wide/test.json
If you want to create them yourself, run the command:
where -i images
is the path to the folder with extracted images
Subset creation
You can train the model for the entire data set, but it takes a lot of time. For this tutorial we use part of this data.
For subset creation run the command:
where -i images
is the path to the folder with extracted images
Additional options: