-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Nondeterministic in HoVerNet
#5609
Labels
Comments
@KumoLiu Is this non-determinism specific to Upsample? Also, doesn't it use torch.nn.Upsample rather than torch.nn.functional.interpolate? |
thanks, I'm labelling this a feature request to update the docstring for both hovernet and UpSample |
7 tasks
wyli
pushed a commit
that referenced
this issue
Jan 6, 2023
Signed-off-by: KumoLiu <[email protected]> Fixes #5609. ### Description Update the docstring for `HoVerNet` and `UpSample`. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [x] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: KumoLiu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
In the current
HoVerNet
implementation of MONAI, it usesUpSample
withNONTRAINABLE
mode which used torch.nn.functional.interpolate() may cause nondeterministic.MONAI/monai/networks/nets/hovernet.py
Lines 535 to 537 in d0db5fd
https://pytorch.org/docs/stable/generated/torch.use_deterministic_algorithms.html#torch.use_deterministic_algorithms
Describe the solution you'd like
It may need to be explained in the docstring.
The text was updated successfully, but these errors were encountered: