Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

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

Open
POONAM2015 wants to merge 1 commit into
HumanSignal:masterfrom
POONAM2015:master
Open

Fixed Issue 465: Saving Yolo labels, corrupts classes.txt#934
POONAM2015 wants to merge 1 commit into
HumanSignal:masterfrom
POONAM2015:master

Conversation

@POONAM2015

Copy link
Copy Markdown

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.

@cyy280113999

Copy link
Copy Markdown

this definitely should be accept.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants