-
Notifications
You must be signed in to change notification settings - Fork 705
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
Convert adaptive_threshold to Enum in configs #637
Convert adaptive_threshold to Enum in configs #637
Conversation
…a/create-post-processing-section-in-configs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! good addition. One minor comment/question
"""Threshold method to apply post-processing to the output predictions.""" | ||
|
||
ADAPTIVE = "adaptive" | ||
FIXED = "fixed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think maybe manual
would be a better name instead of fixed
? As in manual threshold vs. adaptive threshold. (Sorry for being annoying, I realize I was the one who proposed fixed
initially).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with manual
. @ashwinvaidya17, do you have any preference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Description
Currently the threshold settings are as follows:
This PR refactors this and converts adaptive to
threshold.method
usingThresholdMethod
enum. In addition, it also createsNormalizationMethod
enum.adaptive_threshold
toEnum
in configs #635Changes
Checklist