Commit 88fb87bd authored by Neal Wu's avatar Neal Wu
Browse files

Update deprecated imagenet code links to the latest slim versions

parent 4a705e08
......@@ -83,11 +83,12 @@ def create_readable_names_for_imagenet_labels():
(since 0 is reserved for the background class).
Code is based on
https://github.com/tensorflow/models/blob/master/research/inception/inception/data/build_imagenet_data.py
https://github.com/tensorflow/models/blob/master/research/slim/datasets/build_imagenet_data.py
"""
# 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/'
# pylint: enable=g-line-too-long
synset_url = '{}/imagenet_lsvrc_2015_synsets.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