"vscode:/vscode.git/clone" did not exist on "f540d472d5cdaa701615e7ceb138ef66f3da2770"
Commit f1d3764e authored by Shojib's avatar Shojib
Browse files

fix for constant extension length

parent 308179f3
......@@ -72,7 +72,7 @@ def main(unused_argv):
'*.' + FLAGS.segmentation_format))
for annotation in annotations:
raw_annotation = _remove_colormap(annotation)
filename = os.path.basename(annotation)[:-4]
filename = os.path.splitext(os.path.basename(annotation))[0]
_save_annotation(raw_annotation,
os.path.join(
FLAGS.output_dir,
......
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