list_data_collate differences between MONAI 0.4.0 and 0.5.0 #2414
Unanswered
KSchmidtACR
asked this question in
Q&A
Replies: 1 comment 7 replies
-
So it's complaining that something in the data is My initial guess is that it's probably in the metadata when the image is loaded. To test, could you try using You could also disable collation: |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a script that uses MONAI to train a resnet 50 model on numpy array data. This script runs with MONAI 0.4.0, but throws a default_collate error if run with MOANI 0.5.0+. I’ve verified that all data are indeed numpy arrays of the same size, are not empty, and do not contain NaN values. I've been trying to figure out how to make my script compatible with the more recent versions of MONAI, but have not yet been successful. Any help would be greatly appreciated. Here is my script (dataset.json contains file paths and labels for training and validation data):
And the error:
Beta Was this translation helpful? Give feedback.
All reactions