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
5281c9a0
Commit
5281c9a0
authored
Mar 27, 2018
by
Yubin Ruan
Browse files
vis.py: use basename of image when saving raw annotations to prevent file-not-found error
parent
1d38a225
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/deeplab/vis.py
research/deeplab/vis.py
+1
-1
No files found.
research/deeplab/vis.py
View file @
5281c9a0
...
...
@@ -173,7 +173,7 @@ def _process_batch(sess, original_images, semantic_predictions, image_names,
colormap_type
=
FLAGS
.
colormap_type
)
if
FLAGS
.
also_save_raw_predictions
:
image_filename
=
image_names
[
i
]
image_filename
=
os
.
path
.
basename
(
image_names
[
i
]
)
if
train_id_to_eval_id
is
not
None
:
crop_semantic_prediction
=
_convert_train_id_to_eval_id
(
...
...
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