Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

My input data consists of 2 modalities instead of 4 #57

Open
olalla1999 opened this issue Dec 28, 2020 · 0 comments
Open

My input data consists of 2 modalities instead of 4 #57

olalla1999 opened this issue Dec 28, 2020 · 0 comments

Comments

@olalla1999
Copy link

olalla1999 commented Dec 28, 2020

Hello!

I am Olalla, and I am a bit new in all this DL world. I am trying to implement your algorithm and I need to change the input_shape so that it only considers 2 modalities instead of 4. Also, I only have 1 label for the whole meningioma so the output_channels = 1 instead of 3. I think I have modified the whole code properly but, still, I get this error:

ValueError: Dimensions must be equal, but are 2 and 4 for '{{node loss_VAE/sub}} = Sub[T=DT_FLOAT](IteratorGetNext:2, model_3/Dec_VAE_Output/BiasAdd)' with input shapes: [1,2,80,96,64], [1,4,80,96,64]

Here I attach the model.py file modified:

model_modified_2inputs.zip

I hope someone can see what modification it lacks.

Thank you in advance!

Olalla

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant