-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to train multi class segmentation? #25
Comments
As far as I understand capsule networks, So you can try to rewrite the |
I want to train CapsNetR3 with n_class=3 and shape=(160,160), but
Length(num_classes=n_class, seg=True, name='out_seg')(seg_caps)
returns a tensor with shape of (?, 160, 160, 1).Maybe, it should return a tensor with shape of (?, 160, 160, 3).
Therefore,
Length.compute_output_shape
returns (None, 160, 160, 3).Please tell me a solution to this problem.
appendix
Keras: ver. 2.2.4
tensorflow-gpu: ver. 1.13.1
Input Image: (160, 160, 3)
160x160 pixels image with 3 channel
Output Image: (160, 160, 3)
160x160 pixels image with 3 classes
Executing Code:
train_model, eval_model, manipulate_model = CapsNetR3((160,160,3), 3)
Thank you.
The text was updated successfully, but these errors were encountered: