RuntimeError: quantile() input tensor is too large #4851
Unanswered
AAttarpour
asked this question in
Q&A
Replies: 3 comments 7 replies
-
Hi @rijobro , About the Thanks in advance. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @AAttarpour , for the dropout issue, it was wrong in old MONAI version and had been fixed. Therefore, in the latest version it exists. |
Beta Was this translation helpful? Give feedback.
3 replies
-
There's a known issue for torch.quantile pytorch/pytorch#64947 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello MONAI team,
I hope you are doing great!
I want to report two problems I have confronted recently with MONAI; I would appreciate it if someone can help me.
I have been using monai-weekly==0.9.dev2214 and DynUnet for 3D microscopy data; data patches have the size of 512x512x512. The training was fine and I wanted to do MC dropout. Implementing this in PyTorch/MONAI is easy; I need to set the model's dropout layers to train at test time. However, I got a problem; when I printed the model's architecture, there were no dropout layers in the model even though I turned it on during training. This is how I defined the model:
I uninstalled the monai from my virtualenv and installed the latest version; I defined the same DynUnet model, loaded the trained model (I had with monai-weekly==0.9.dev2214), and printed the model architecture again; I realized that there are actually dropout layers; so, I assume there is sth related to the MONAI version. However, I am confronted with another problem with this new MONAI (version 0.10).
I use
ScaleIntensityRangePercentilesd
transform. In the new MONAI, it gives me this error from torch when it wants to use this transform:RuntimeError: quantile() input tensor is too large
I firstly thought sth went wrong with my virtualenv when I uninstalled and installed MONAI again, but I tested in google colab and it gave me the same error. Here is how I tested it:This isn't a problem with the previous MONAI; in the google colab, I installed monai-weekly==0.9.dev2214 again and there was no error.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions