title: Keras Conv1D: error of dimensions
body: <p>I am trying to perform a rating using the CNN template.</p>
  
  <p>I have 150 classes. My train base has 19470 rows and 1945 columns. It is an matrix that contains 0 and 1. </p>
  
  <pre><code>import keras
  from keras.models import Sequential
  from keras.layers import Conv1D
  from keras.layers.advanced_activations import LeakyReLU
  
  model = Sequential()
  model.add(Conv1D(150,kernel_size=3,input_shape(19470,1945),activation='linear',padding='same'))
  model.add(LeakyReLU(alpha=0.1))
  
  
  
  model.compile(loss=keras.losses.categorical_crossentropy, optimizer=keras.optimizers.Adam(),metrics=['accuracy'])
  
  model.fit(x_train, y_train)
  </code></pre>
  
  <p>This raises:</p>
  
  <blockquote>
    <p>ValueError:  Error when checking input: expected conv1d_39_input to have 3 dimensions, but got array with shape (19470, 1945)</p>
  </blockquote>