You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting the threshold using ManualThreshold seems to have no effect on the output of predict.
I set the default_value in ManualThreshold to 0.99 and 0.0001, but the images saved by predict are the same.
What do your predictions look like and what do you expect? Is the code above your full code, because the model training (and validation) phase is missing.
When I finish training the model and call the model using the predict method, no matter what value I change the default_value in ManualThreshold to, the 'Predicted Heat Map' and 'Predicted Mask' drawn by predict method are exactly the same. I believe that modifying the threshold should output different 'Predicted Mask'. For example, if I set the threshold very low, there should be many defects.
Describe the bug
Setting the threshold using ManualThreshold seems to have no effect on the output of predict.
I set the
default_value
inManualThreshold
to 0.99 and 0.0001, but the images saved by predict are the same.Dataset
N/A
Model
Reverse Distillation
Steps to reproduce the behavior
OS information
OS information:
Expected behavior
different threshold, different predicted mask
Screenshots
No response
Pip/GitHub
GitHub
What version/branch did you use?
No response
Configuration YAML
None
Logs
Code of Conduct
The text was updated successfully, but these errors were encountered: