-
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
2975 torch fgbgtoindices #3038
2975 torch fgbgtoindices #3038
Conversation
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
pending the PR, I will test with spleen fast training and get back ASAP. Thanks. |
Hi @rijobro , BTW, have you implemented this feature locally in your branch? If yes, maybe you can share some comments here. Thanks. |
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
0428d66
to
9415e43
Compare
Mark: training time with this PR around Thanks. |
I looked into this issue, the root cause is that MONAI/monai/transforms/utils.py Line 427 in 28fb7d6
and (2) the numbers are converted into tensors: MONAI/monai/transforms/croppad/array.py Line 405 in 28fb7d6
Previously So I think the issue is not really in this PR, it's from the |
Hi @wyli , OK, thanks for your investigation! Thanks. |
thanks! please help fix the issue and we can merge this PR after that |
Sure, sounds good to me. Investigating. Thanks. |
This looks great, thanks! |
I think we already found the root cause of the performance issue, no need to put the Thanks. |
Signed-off-by: Wenqi Li wenqil@nvidia.com
Fixes #2975
Description
unravel_index is still in numpy, otherwise it supports both backendsadded both backendsStatus
Ready
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests
.make html
command in thedocs/
folder.