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
88fb87bd
Commit
88fb87bd
authored
Sep 25, 2017
by
Neal Wu
Browse files
Update deprecated imagenet code links to the latest slim versions
parent
4a705e08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
official/resnet/imagenet.py
official/resnet/imagenet.py
+3
-2
No files found.
official/resnet/imagenet.py
View file @
88fb87bd
...
...
@@ -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
/data
sets
/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
)
...
...
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