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
fb6bc29b
Unverified
Commit
fb6bc29b
authored
Aug 07, 2018
by
Yukun Zhu
Committed by
GitHub
Aug 07, 2018
Browse files
Merge pull request #5021 from sumsuddin/constant_ext_len_fix
fix for constant extension length
parents
5fd32ef6
f1d3764e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/deeplab/datasets/remove_gt_colormap.py
research/deeplab/datasets/remove_gt_colormap.py
+1
-1
No files found.
research/deeplab/datasets/remove_gt_colormap.py
View file @
fb6bc29b
...
@@ -72,7 +72,7 @@ def main(unused_argv):
...
@@ -72,7 +72,7 @@ def main(unused_argv):
'*.'
+
FLAGS
.
segmentation_format
))
'*.'
+
FLAGS
.
segmentation_format
))
for
annotation
in
annotations
:
for
annotation
in
annotations
:
raw_annotation
=
_remove_colormap
(
annotation
)
raw_annotation
=
_remove_colormap
(
annotation
)
filename
=
os
.
path
.
basename
(
annotation
)
[:
-
4
]
filename
=
os
.
path
.
splitext
(
os
.
path
.
basename
(
annotation
)
)[
0
]
_save_annotation
(
raw_annotation
,
_save_annotation
(
raw_annotation
,
os
.
path
.
join
(
os
.
path
.
join
(
FLAGS
.
output_dir
,
FLAGS
.
output_dir
,
...
...
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