Replies: 15 comments 4 replies
-
Hi @Sebagam , Thanks for your interest here. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks. |
Beta Was this translation helpful? Give feedback.
-
Maybe you can try pip install monai==0.4.0? Thanks. |
Beta Was this translation helpful? Give feedback.
-
But I strongly suggest you to update with MONAI v0.6 as we integrated many enhancements. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi @Sebagam , If you check the error log, you can find that the data shape is wrong: Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thank you, Nic,
Do you know what the following issue mean?
RuntimeError: DataLoader worker (pid(s) 1038) exited unexpectedly
…On Sun, Sep 5, 2021 at 11:52 AM Nic Ma ***@***.***> wrote:
Hi @Sebagam <https://github.com/Sebagam> ,
If you check the error log, you can find that the data shape is wrong:
Shape: (1, 166, 256, 256, 1)
Actually your data already has channel dim at the last dim, you should not
use AddChannel transform, you can use EnsureChannelFirst or AsChannelFirst
transform.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2886 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7M2OO3XFR74B774XAQDTLUAN74TANCNFSM5DLSHURQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Hi @Sebagam , I think maybe it's some PyTorch multi-processing issue? Can you try again with Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi @Sebagam , Seems something wrong with your data shape? Thanks. |
Beta Was this translation helpful? Give feedback.
-
I got this error now:
ValueError: meta_dict not available, EnsureChannelFirst is not in use.
…On Wed, Sep 8, 2021 at 8:59 PM Nic Ma ***@***.***> wrote:
Hi @Sebagam <https://github.com/Sebagam> ,
Seems something wrong with your data shape?
Could you please help add EnsureChannelFirst transform at the beginning
of your transform chain?
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2886 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7M2OKHVIK3RWSIQZGUKXLUA72E3ANCNFSM5DLSHURQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Hi @Sebagam , As you are using array-based transforms instead of dict-based transforms, it may not work well. Thanks. |
Beta Was this translation helpful? Give feedback.
-
I think maybe you can print out the model predictions, see whether it's overfitting? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
I think that I managed to fix it.
Do you know how to turn off this output?
INFO:nibabel.global:pixdim[0] (qfac) should be 1 (default) or -1;
setting qfac to 1
/usr/local/lib/python3.7/dist-packages/monai/data/utils.py:542:
UserWarning: Modifying image pixdim from [1.1999999 1. 1.
0. ] to [ 1.19999993 1. 1. 218.40411641]
warnings.warn(f"Modifying image pixdim from {pixdim} to {norm}")
Thanks
…On Thu, Sep 9, 2021 at 11:58 AM Nic Ma ***@***.***> wrote:
I think maybe you can print out the model predictions, see whether it's
overfitting?
@wyli <https://github.com/wyli> @ericspod <https://github.com/ericspod>
Could you guys help please share some comments about the training status?
Thanks in advance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2886 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7M2OKXRI2LFE3ITJEKVZLUBDDQVANCNFSM5DLSHURQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
I think you can turn off all the warnings, referring to: Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi Nic,
Yes, I know that command.
The problem is the Nibabel information messages:
INFO:nibabel.global:pixdim[0] (qfac) should be 1 (default) or -1;
setting qfac to 1
pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
Do you know how to suppress them?
Thanks
…On Thu, Sep 9, 2021 at 8:05 PM Nic Ma ***@***.***> wrote:
I think you can turn off all the warnings, referring to:
https://stackoverflow.com/questions/14463277/how-to-disable-python-warnings
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2886 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7M2OOISBSPLX6MWAA5TE3UBE4VDANCNFSM5DLSHURQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Hi @wyli , Do you know something about this Nibabel warning? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
When trying to run MONAI on google colab:
ImportError: cannot import name 'NiftiDataset' from 'monai.data' (/usr/local/lib/python3.7/dist-packages/monai/data/init.py)
This issue was not present a few months ago.
Best,
Sebastian
Beta Was this translation helpful? Give feedback.
All reactions