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

Define score threshold as input parameter #5

Merged
merged 4 commits into from
Jan 23, 2023
Merged

Conversation

cleherny
Copy link
Contributor

The threshold score value initially hard coded in the script make-prediction.py, is now defined as an input parameter in the config.yaml file.

The threshold score value intially hard coded in the script make-prediction.py is now defined as an input parameter in the config.yaml file
cleherny and others added 3 commits December 15, 2022 13:43
The position of the score threshold setting in the script was not correct. The threshold score set in the config file was not taken into account. Instead the value set in detectron2 config file was taken into account. The .pkl file name was correct with the score value set in the config file taken into account. The attribution of the threshold score must occur before the definition of the predictor.
@acerioni acerioni merged commit 691ecfe into master Jan 23, 2023
cleherny pushed a commit that referenced this pull request Feb 16, 2023
Define score threshold as input parameter

Former-commit-id: 691ecfe
@cleherny cleherny deleted the ch/dev_score-thd branch September 11, 2023 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants