-
Notifications
You must be signed in to change notification settings - Fork 668
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
[Bug]: Setting the threshold using ManualThreshold seems to have no effect on the output of predict #2229
Comments
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. |
model = ReverseDistillation()
engine = Engine(
max_epochs=200,
check_val_every_n_epoch=5,
logger=True
)
engine.fit(datamodule=folder_datamodule, model=model)
|
@alexriedel1 Looking forward to your reply, thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: