labelImg icon indicating copy to clipboard operation
labelImg copied to clipboard

Fixed Issue 465: Saving Yolo labels, corrupts classes.txt

Open POONAM2015 opened this issue 2 years ago • 1 comments

Upon saving YOLO labels, classes.txt was being over-written. This was happening because self.label_hist was an empty list so it writes only the newly added label.

I have fixed it by loading the labels from classes.txt if the predefined_labels file is not provide.

POONAM2015 avatar Aug 25 '22 18:08 POONAM2015

this definitely should be accept.

cyy280113999 avatar Aug 09 '23 06:08 cyy280113999