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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

POONAM2015
Copy link

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants