frankkramer-lab / MIScnn

A framework for Medical Image Segmentation with Convolutional Neural Networks and Deep Learning
GNU General Public License v3.0
402 stars 116 forks source link

Input 0 of layer "batch_normalization" is incompatible with the layer: expected ndim=4, found ndim=5. Full shape received: (None, None, None, None, 32) #110

Open aleemsidra opened 2 years ago

aleemsidra commented 2 years ago

Can you please let me know, what I am getting this error? How to fix it?

Thanks, Sidra

muellerdo commented 2 years ago

Hey @aleemsidra,

it seems to be that you try to run 2D code with 3D data?

Please provide more information to debug like a full error log or a reproducible example.

Cheers, Dominik

aleemsidra commented 2 years ago

Hi @muellerdo

Thanks for your response.

The below image shows the preprocessing step of data load 2

The below image shows the neural network. 1

Below image for the structure of data (we downloading kits 2019 Github)

3

Waiting for your response.

Thanks, Sidra

muellerdo commented 2 years ago

Hey @aleemsidra,

sorry for the late response.

Could you please also add another screenshot of the Preprocessor?

And is this the KiTS19 Notebook from the examples?

Cheers, Dominik