toni-heittola / dcase2019_task1_baseline

DCASE2019 Challenge Task 1 baseline system
MIT License
20 stars 11 forks source link

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

Open AthanJohn opened 5 years ago

AthanJohn commented 5 years ago

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