-
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
Auto3dSeg integration test failed #8352
Comments
May related to the change in this PR: https://github.com/Project-MONAI/MONAI/pull/8296/files#diff-ee5fb0298e838055a11161f2bc40333374868bf89277baa0827ef1af8b908ad0 |
cc @garciadias |
Hi @KumoLiu, I found the issue, but I am not sure how to solve it. It is a file that gets generated during the test: Exception has occurred: ImportError
cannot import name 'pytorch_after' from 'monai.networks.utils' (/home/rd24/kcl/MONAI/monai/networks/utils.py)
File "/tmp/tmp7tok8tri/workdir/dints_0/scripts/train.py", line 48, in <module>
from monai.networks.utils import pytorch_after
ImportError: cannot import name 'pytorch_after' from 'monai.networks.utils' (/home/rd24/kcl/MONAI/monai/networks/utils.py) I see that a lot of what was changed in this PR has to do with I will keep investigating. Let me know if you know anything about this off the top of your head. |
Hi @garciadias, thanks for investigation! From the error log, it seems related to the auto3dseg template. BTW, if you could search whether there is any other wrong import under https://github.com/Project-MONAI/research-contributions/tree/main/auto3dseg/algorithm_templates would be great! Thanks! |
Solving issue from MONAI repository: [#8352](Project-MONAI/MONAI#8352) Signed-off-by: R. Garcia-Dias <[email protected]>
python -m tests.integration.test_auto3dseg_ensemble
cc @mingxin-zheng
The text was updated successfully, but these errors were encountered: