API Design Choice Behind Setting Prediction Threshold on The Model #1269
Unanswered
wescef-fahmad
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
One strange issue with Sahi is that model creation APIs like
AutoDetectionModel.from_pretrained()accept a prediction threshold parameter, likeconfidence_thresholdbut the prediction APIs, for exampleget_sliced_prediction()do not allow setting/overriding a prediction threshold. This makes it difficult to use the API in setting where the threshold needs to be varied dynamically.Is this a deliberate design choice?
Beta Was this translation helpful? Give feedback.
All reactions