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
bbf46694
Commit
bbf46694
authored
May 16, 2018
by
Sebastian Brodehl
Browse files
Remove partial download option, as it has no effect combined with -O
parent
f50bc179
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
research/inception/inception/data/download_imagenet.sh
research/inception/inception/data/download_imagenet.sh
+2
-2
No files found.
research/inception/inception/data/download_imagenet.sh
View file @
bbf46694
...
@@ -55,11 +55,11 @@ BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nonpub"
...
@@ -55,11 +55,11 @@ BASE_URL="http://www.image-net.org/challenges/LSVRC/2012/nonpub"
BOUNDING_BOX_ANNOTATIONS
=
"
${
BASE_URL
}
/ILSVRC2012_bbox_train_v2.tar.gz"
BOUNDING_BOX_ANNOTATIONS
=
"
${
BASE_URL
}
/ILSVRC2012_bbox_train_v2.tar.gz"
BBOX_TAR_BALL
=
"
${
BBOX_DIR
}
/annotations.tar.gz"
BBOX_TAR_BALL
=
"
${
BBOX_DIR
}
/annotations.tar.gz"
echo
"Downloading bounding box annotations."
echo
"Downloading bounding box annotations."
wget
-c
"
${
BOUNDING_BOX_ANNOTATIONS
}
"
-O
"
${
BBOX_TAR_BALL
}
"
||
BASE_URL_CHANGE
=
1
wget
"
${
BOUNDING_BOX_ANNOTATIONS
}
"
-O
"
${
BBOX_TAR_BALL
}
"
||
BASE_URL_CHANGE
=
1
if
[
$BASE_URL_CHANGE
]
;
then
if
[
$BASE_URL_CHANGE
]
;
then
BASE_URL
=
"http://www.image-net.org/challenges/LSVRC/2012/nnoupb"
BASE_URL
=
"http://www.image-net.org/challenges/LSVRC/2012/nnoupb"
BOUNDING_BOX_ANNOTATIONS
=
"
${
BASE_URL
}
/ILSVRC2012_bbox_train_v2.tar.gz"
BOUNDING_BOX_ANNOTATIONS
=
"
${
BASE_URL
}
/ILSVRC2012_bbox_train_v2.tar.gz"
wget
-c
"
${
BOUNDING_BOX_ANNOTATIONS
}
"
-O
"
${
BBOX_TAR_BALL
}
"
wget
"
${
BOUNDING_BOX_ANNOTATIONS
}
"
-O
"
${
BBOX_TAR_BALL
}
"
fi
fi
echo
"Uncompressing bounding box annotations ..."
echo
"Uncompressing bounding box annotations ..."
tar
xzf
"
${
BBOX_TAR_BALL
}
"
-C
"
${
BBOX_DIR
}
"
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