Commit 77718f8e by MORITA Kazutaka Committed by Tianqi Chen

[TUTORIAL] Fix downloaded file path (#2590)

parent 89deaa6b
...@@ -147,7 +147,6 @@ if not os.path.exists(data_dir): ...@@ -147,7 +147,6 @@ if not os.path.exists(data_dir):
# Download files # Download files
for file in [categ_fn, graph_fn, params_fn]: for file in [categ_fn, graph_fn, params_fn]:
if not os.path.isfile(file):
download(os.path.join(url, file), os.path.join(data_dir, file)) download(os.path.join(url, file), os.path.join(data_dir, file))
# Read in ImageNet Categories # Read in ImageNet Categories
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment