Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to update class names after model has already been trained? #542

Open
johanpramudito opened this issue Jul 17, 2024 · 1 comment
Open

Comments

@johanpramudito
Copy link

Is there a way to update the class names for a model after it has been trained?

Let say i train the model, but there are class with name "dgo", the right name is "dog". How to update the class names in YOLOv9?

@fukingbus
Copy link

the model treats your dataset as numeric values.
no matter what you named inside your class.txt, your bounding box data should begin with numeric class id.

for short, just change dgo to dog inside class.txt and you are good to go 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants