Unverified Commit 5c30a6b0 authored by Jakub Kaczmarzyk's avatar Jakub Kaczmarzyk Committed by GitHub
Browse files

fix `base_url` (#9207)

The previous `base_url` led to 404 errors. This commit uses the correct base URL.
parent 674506c4
...@@ -86,7 +86,7 @@ def create_readable_names_for_imagenet_labels(): ...@@ -86,7 +86,7 @@ def create_readable_names_for_imagenet_labels():
""" """
# pylint: disable=g-line-too-long # pylint: disable=g-line-too-long
base_url = 'https://raw.githubusercontent.com/tensorflow/models/master/research/inception/inception/data/' base_url = 'https://raw.githubusercontent.com/tensorflow/models/master/research/slim/datasets/'
synset_url = '{}/imagenet_lsvrc_2015_synsets.txt'.format(base_url) synset_url = '{}/imagenet_lsvrc_2015_synsets.txt'.format(base_url)
synset_to_human_url = '{}/imagenet_metadata.txt'.format(base_url) synset_to_human_url = '{}/imagenet_metadata.txt'.format(base_url)
......
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