MIScnn icon indicating copy to clipboard operation
MIScnn copied to clipboard

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)

Open aleemsidra opened this issue 3 years ago • 3 comments

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

Thanks, Sidra

aleemsidra avatar Dec 09 '21 18:12 aleemsidra

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

muellerdo avatar Dec 14 '21 12:12 muellerdo

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

aleemsidra avatar Dec 14 '21 16:12 aleemsidra

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

muellerdo avatar Dec 22 '21 15:12 muellerdo