-
Notifications
You must be signed in to change notification settings - Fork 0
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
Labels are wrongly associated with scores #43
Comments
This was fixed in 71b57a2 by using the labels field from the model config file. An alternative would be to change bins:
pre:
slate:
- "S"
chyron:
- "I"
- "N"
- "Y"
credit:
- "C" into
and update |
This is probably because of this; yaml/pyyaml#110. Trainer config: app-swt-detection/modeling/config/trainer.yml Lines 43 to 52 in f033551
After app-swt-detection/modeling/models/20231214-193543.convnext_tiny.kfold_config.yml Lines 1 to 10 in f033551
Considering added label mapping complexity when we add app-swt-detection/modeling/train.py Lines 243 to 244 in f033551
To fix the original wrong association issue, just adding |
Agreed on both counts. I hadn't looked closely at the new export code you had added. And indeed having both |
Fixed in 0ab78e0. |
Because
Somewhere along the line we started assigning the wrong label, probably because the way we dealt with configurations has changed several times.
The config file
modeling/config/trainer.yml
has:And the classifier config in
/modeling/models/20231214-193543.convnext_tiny.kfold_config.yml
hasBut the method
train.get_final_label_names()
returnsand since that method is eventually used to set labels on an instance of Prediction we get a mismatch.
The text was updated successfully, but these errors were encountered: