ValueError: Input 0 is incompatible with layer conv1d_1: expected ndim=3, found ndim=4
You should either change input_shape
to
input_shape=(64,1)
... or use batch_input_shape
:
batch_input_shape=(None, 64, 1)
This discussion explains the difference between the two in keras in detail.