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

model.save_config() does not save labels #738

Open
LePeler opened this issue Aug 14, 2024 · 1 comment
Open

model.save_config() does not save labels #738

LePeler opened this issue Aug 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@LePeler
Copy link

LePeler commented Aug 14, 2024

When adding a label to a Dataset using:
label = LabelClass()
dataset.add_label(label)
and then saving the config .yml-file:
dataset.save_config(...)
The .yml-file says 'labels: null' instead of listing the added label i.e. the label is not saved.

@LePeler LePeler added the bug Something isn't working label Aug 14, 2024
@LePeler
Copy link
Author

LePeler commented Aug 17, 2024

I fixed the problem by letting the Label class inherit from Model, PR will follow soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant