Thanks a lot for the help @Ekaterina_Dranitsyna  I finally got the code working. But unfortunately, the results are very poor as I’m only getting a 45% accuracy. Can a 1D CNN model be used in this case? If so, how am I supposed to pass my Input tensor to the first Conv1D layer since the required ndim=3. Thanks !