Skip to content

Commit eed5097

Browse files
author
Chihiro Takigawa
committed
PascalVOCのオブジェクト出力順序を修正
1 parent dafb0de commit eed5097

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

fastlabel/converters.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -684,9 +684,7 @@ def get_annotation_points(anno, _):
684684
}
685685

686686
if len(filtered_pascalvoc_objs) > 0:
687-
voc["annotation"]["object"] = list(
688-
sorted(filtered_pascalvoc_objs, key=itemgetter("name"))
689-
)
687+
voc["annotation"]["object"] = filtered_pascalvoc_objs
690688

691689
pascalvoc.append(voc)
692690
return pascalvoc

0 commit comments

Comments
 (0)