I have a question about using custom dataset.
Is it possible to train SegCapsR3 with 3 channels RGB images and 1 channel grayscale mask?
UNet works with the same configuration (3 channels input + 1 channel mask) but SegCapsR3 doesn't.
SegCapsR3 fails with the error message of __ValueError: Error when checking target: expected out_recon to have shape (224, 224, 1) but got array with shape (224, 224, 3)__
Here is the network summary. I didn't do anything on the network and I'm at the very beginning of this road and couldn't find a solution.
Regards,
Hi @Cheng-Lin-Li, thanks for your great effort.
I have a question about using custom dataset. Is it possible to train SegCapsR3 with 3 channels RGB images and 1 channel grayscale mask?
UNet works with the same configuration (3 channels input + 1 channel mask) but SegCapsR3 doesn't.
SegCapsR3 fails with the error message of __ValueError: Error when checking target: expected out_recon to have shape (224, 224, 1) but got array with shape (224, 224, 3)__
Here is the network summary. I didn't do anything on the network and I'm at the very beginning of this road and couldn't find a solution. Regards,