Skip to content

Commit 67f1b98

Browse files
Merge pull request #230 from fastlabel/feature/7830-fix-pascalvoc-object-order
PascalVOCのオブジェクト出力順序を修正
2 parents dafb0de + eed5097 commit 67f1b98

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)