Skip to content

Commit

Permalink
places13 dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
i282751 committed Jan 29, 2019
1 parent 5850951 commit 3706f9d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ run:

zip_out:
zip --quiet --recurse-paths out.zip out/
rm -rf out/*
#rm -rf out/*
@echo "Zipped all files in ./out into out.zip"

clean:
Expand All @@ -52,3 +52,15 @@ places16:
python3 scripting/split-dataset.py data/places365_standard/val/ data/places16/ scripting/places16.txt test 96
@echo '... done.'
@echo 'Please run `python3 loaader.py config/places16.yaml` to train the network.'


places13:
@echo 'Places13 - splitting dataset ...'
# For each category:
# 4096 pics from train/ will go to places13/train
# 128 pics from train/ will go to places13/val
python3 scripting/split-dataset.py data/places365_standard/train/ data/places13/ scripting/places13.txt train 4096 --bname val --bsize 128
# 96 pics from val/ will go to places13/test
python3 scripting/split-dataset.py data/places365_standard/val/ data/places13/ scripting/places13.txt test 96
@echo '... done.'
@echo 'Please run `python3 loaader.py config/places13.yaml` to train the network.'
11 changes: 11 additions & 0 deletions config/places13.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
epochs: 70
batch_size: 32
net_divisor: 1
learning_rate: 0.001
num_workers: 12
img_dir_train: ./data/places13/train
img_dir_val: ./data/places13/val
img_dir_test: ./data/places13/test
img_out_dir: ./out/places13
models_dir: ./model/places13
13 changes: 13 additions & 0 deletions scripting/places13.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
bridge
building_facade
castle
cottage
forest-broadleaf
formal_garden
house
mountain
palace
park
pond
sky
skyscraper

0 comments on commit 3706f9d

Please sign in to comment.