Closed ssean819 closed 3 years ago
Hey @ssean819,
sounds like there are some kind of incorrect prediction output. It is quite interesting that the training process is working, but you will get an error in the detailed validation/prediction, afterwards.
There are several points which I would recommend having a look into:
Could you give us some insights on these questions?
Cheers, Dominik
Hi
After several tests, I still can't find the problem. I have tried 3D-UNET and it was a success. By the way, my data is channel-last, I don't know this cause problem or not.
Can you specify on which sample this error occurs?
This error occurred after run first all epochs in k_fold0.
Other problems I need time to check. But I know my image shape is not all the same as below.
case_00000 (512, 512, 76)
case_00001 (512, 512, 86)
case_00002 (197, 197, 200)
case_00003 (512, 512, 86)
case_00004 (217, 217, 150)
case_00005 (217, 217, 168)
case_00006 (512, 512, 86)
case_00007 (512, 512, 86)
case_00008 (512, 512, 86)
case_00009 (512, 512, 82)
case_00010 (512, 512, 96)
My MIScnn version is 1.0.0
Hey @ssean819,
sorry for the late reply.
After several tests, I still can't find the problem. I have tried 3D-UNET and it was a success.
Did you had a successful cross-validation on your data, once?
By the way, my data is channel-last, I don't know this cause problem or not.
No, it's perfect. MIScnn, same as Tensorflow, are based on a channel-last structure.
Could you please try to reproduce the error by just running a prediction with model.predict(sample_list)
instead of running the cross-validation?
Tip: You can run the prediction function without previous training. The predictions are of course random/garbage, but we will get the insight that we can reproduce the error with a simple prediction, as well.
Other problems I need time to check.
No problem. Keep me updated, please. I'm optimistic that we can find the error and setup a working MIS pipeline for you! :)
Cheers, Dominik
Hi,
I finally found that the problem is my data list. I input the wrong data list, so cross_validation can't read the file. very sorry about that.
Hi, I use another nii data, and set
After I run cross_validation, I receive ValueError: need at least one array to concatenate
Does anyone know how to fix this error?