We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74c4664 commit d39ba17Copy full SHA for d39ba17
examples/instance_segmentation/labelme2voc.py
@@ -77,7 +77,7 @@ def main():
77
f.writelines("\n".join(class_names))
78
print("Saved class_names:", out_class_names_file)
79
80
- for filename in glob.glob(osp.join(args.input_dir, "*.json")):
+ for filename in sorted(glob.glob(osp.join(args.input_dir, "*.json"))):
81
print("Generating dataset from:", filename)
82
83
label_file = labelme.LabelFile(filename=filename)
0 commit comments