Image with multilabel of
diningtable
,person
andsofa
- Python 3.6
- torch 0.4.1
- torchvision 0.2.1
- tqdm
-
Download
PASCAL VOC 2007
dataset- Training / Validation (5011 images)
- Test (4952 images)
-
Extract to data folder, now your folder structure should be like:
VOC2007-Multilabel-TODO.pytorch - data - VOCdevkit - VOC2007 - Annotations - 000001.xml - 000002.xml ... - ImageSets - Main ... test.txt ... trainval.txt ... - JPEGImages - 000001.jpg - 000002.jpg ... - ...
-
Train
$ python train.py -d=./data -c=./checkpoints
-
Evaluate
$ python eval.py ./checkpoint/model-100.pth -d=./data