-
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
Classifier app does not know about post binning #46
Comments
Fixed in #57 |
@keighrim do you know why this was reopened? CLAMS Bot gone rogue? |
It look like the bot assigned this issue to you when you pushed |
No that was issue 14, not this one. |
Aha, you also pushed |
Ah, I did accidentally do a |
Because
The classifier only works well if there is no post binning. It gets its labels from
app-swt-detection/modeling/train.py
Lines 268 to 274 in 468aa2b
And those labels are added to the Prediction instances. If there is post binning than the labels will be out of sink with the Prediction because the scores in the Prediction are for the labels after pre binning, not post binning.
Changes needed are to
Classifier.process_video()
which hands over the wrong labels to the prediction, but mostly to the Stitcher, which now does not know what scores to pick.Note to self: post binning as implemented in train.py does not involve adding probabilities on post-binned labels, instead it picks the highest score. It should not be hard to experiment with both in the stitcher.
Done when
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: