Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
2aff70fc
Commit
2aff70fc
authored
Mar 27, 2016
by
Linchao Zhu
Browse files
The ILSVRC original image url somehow changed, use the new one if failed
parent
d51fdd20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
inception/inception/data/download_imagenet.sh
inception/inception/data/download_imagenet.sh
+6
-0
No files found.
inception/inception/data/download_imagenet.sh
View file @
2aff70fc
...
...
@@ -56,6 +56,12 @@ BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nonpub"
BOUNDING_BOX_ANNOTATIONS
=
"
${
BASE_URL
}
/ILSVRC2012_bbox_train_v2.tar.gz"
BBOX_TAR_BALL
=
"
${
BBOX_DIR
}
/annotations.tar.gz"
echo
"Downloading bounding box annotations."
wget
"
${
BOUNDING_BOX_ANNOTATIONS
}
"
-O
"
${
BBOX_TAR_BALL
}
"
||
BASE_URL_CHANGE
=
1
if
[
$BASE_URL_CHANGE
]
;
then
BASE_URL
=
"http://www.image-net.org/challenges/LSVRC/2012/nnoupb"
BOUNDING_BOX_ANNOTATIONS
=
"
${
BASE_URL
}
/ILSVRC2012_bbox_train_v2.tar.gz"
BBOX_TAR_BALL
=
"
${
BBOX_DIR
}
/annotations.tar.gz"
fi
wget
"
${
BOUNDING_BOX_ANNOTATIONS
}
"
-O
"
${
BBOX_TAR_BALL
}
"
echo
"Uncompressing bounding box annotations ..."
tar
xzf
"
${
BBOX_TAR_BALL
}
"
-C
"
${
BBOX_DIR
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment