Keras Masking for RNN with Varying Time Steps

前端 未结 2 724
夕颜
夕颜 2020-12-15 17:08

I\'m trying to fit an RNN in Keras using sequences that have varying time lengths. My data is in a Numpy array with format (sample, time, feature) = (20631, max_time,

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-15 18:06

    I could not validate without actual data, but I had a similar experience with an RNN. In my case normalization solved the issue. Add a normalization layer to your model.

提交回复
热议问题