Skip to content

Error with shape in LSTM when i try to implement an RNN - Task1a #4

@AthanJohn

Description

@AthanJohn

Hi,
I have a problem with my implementation. I try to implement a RNN and the parameters which i use are shown below.

rnn arc

So, i get this error: Input 0 is incompatible with layer lstm_1: expected ndim=3, found ndim=4.

As you can see at the image below, I reshaped my X_train and X_validation array, but this error still exists.

X_reshape

Can you help me?

PS I use DCASE 2018 implementation, sorry about that. But I think it doesn't matter about this error.

Thanks in advance!

-Athanasiou Giannos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions