Skip to content

Commit

Permalink
Merge pull request #16 from ywelement/fix_imagenet_link
Browse files Browse the repository at this point in the history
Fix broken ImageNet links in the download script
  • Loading branch information
ywelement committed Nov 1, 2016
2 parents 3d8c80d + 853c101 commit 8da729a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions scripts/downloadimagenet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ cmd:text('$> th downloadimagenet.lua ')
cmd:text('Options:')
cmd:option('--savePath', paths.concat(dl.DATA_PATH, 'ImageNet'), 'where to download and extract the files')
cmd:option('--metaURL', 'https://stife076.files.wordpress.com/2015/02/metadata.zip', 'URL for file containing serialized JSON mapping word net ids to class index, name and description')
cmd:option('--trainURL', 'http://www.image-net.org/challenges/LSVRC/2012/nonpub/ILSVRC2012_img_train.tar', 'URL of train images')
cmd:option('--validURL', 'http://www.image-net.org/challenges/LSVRC/2012/nonpub/ILSVRC2012_img_val.tar', 'URL of validation images')
cmd:option('--testURL', 'http://www.image-net.org/challenges/LSVRC/2012/nonpub/ILSVRC2012_img_test.tar', 'URL of test images')
cmd:option('--devkitURL', 'http://image-net.org/image/ilsvrc2014/ILSVRC2014_devkit.tgz', 'URL of devkit')
cmd:option('--what', 'all', 'what to download : all, train, valid, test, devkit, meta')
cmd:option('--trainURL', 'http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_img_train.tar', 'URL of train images')
cmd:option('--train3URL', 'http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_img_train_t3.tar', 'URL of train images for task 3')
cmd:option('--validURL', 'http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_img_val.tar', 'URL of validation images')
cmd:option('--testURL', 'http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_img_test.tar', 'URL of test images')
cmd:option('--devkitURL', 'http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_devkit_t12.tar.gz', 'URL of devkit')
cmd:option('--devkit3URL', 'http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_devkit_t3.tar.gz', 'URL of devkit for task 3')
cmd:option('--what', 'all', 'what to download : all, train, train3, valid, test, devkit, devkit3, meta')
cmd:option('--squash', false, 'squash existing downloaded files.')
cmd:text()
opt = cmd:parse(arg or {})
Expand Down

0 comments on commit 8da729a

Please sign in to comment.