Transform issue during training #3951
Replies: 3 comments 10 replies
-
this is probably a usage question, could you please share some data samples and the transforms you are using? (converting to a discussion) |
Beta Was this translation helpful? Give feedback.
-
The following are image and label samples: started server using: and ran training using the curl command and then this error showed up on the server logs. |
Beta Was this translation helpful? Give feedback.
-
thanks, I don't have details of your preprcoessing transforms, but perhaps you missed from monai.transforms import LoadImageD, OrientationD, EnsureChannelFirstD, Compose
xform = Compose([LoadImageD(keys=("img", "seg")),
EnsureChannelFirstD(keys=("img", "seg")),
OrientationD(keys=("img", "seg"), axcodes="RAS")])
output = xform({"img":"/Users/Downloads/train1.nii.gz",
"seg": "/Users/Downloads/train1_seg.nii.gz"}) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Training a deepgrow_3d model
image -> dataset/train1.nii.gz
label -> dataset/labels/final/train1.nii.gz
request -> {"num_epochs": 50, "datalist": [{"image": "train1.nii.gz", "label": "train1.nii.gz"}]}
get this error
Beta Was this translation helpful? Give feedback.
All reactions