title: Error when checking input: expected lstm_1_input to have 3 dimensions
body: <p>I have an x_test data:</p>
  <pre><code>x_test.shape
  Out[11]: (13096, 30)
  
  x_test.size
  Out[16]: 392880
  </code></pre>
  <p>When I launch the prediction it return an error:</p>
  <p>ValueError: Error when checking input: expected lstm_1_input to have 3 dimensions, but got array with shape (13096, 30)</p>
  <p>My code is very simple, I'm trying to run the predict function:</p>
  <pre><code>test_df= pd.read_csv(&quot;Path_data&quot;)
  model = load_model.(&quot;path_model&quot;)
  Xnew = np.array(test_df)
  
  # make a prediction
  
  predictions = model.predict_classes(Xnew)
  </code></pre>
  <p>Model summary:</p>
  <pre><code>Model: &quot;sequential_1&quot;
  _________________________________________________________________
  Layer (type)                 Output Shape              Param #   
  =================================================================
  lstm_1 (LSTM)                (None, 50, 100)           50400     
  _________________________________________________________________
  dropout_1 (Dropout)          (None, 50, 100)           0         
  _________________________________________________________________
  lstm_2 (LSTM)                (None, 50)                30200     
  _________________________________________________________________
  dropout_2 (Dropout)          (None, 50)                0         
  _________________________________________________________________
  dense_1 (Dense)              (None, 1)                 51        
  =================================================================
  Total params: 80,651
  Trainable params: 80,651
  Non-trainable params: 0
  </code></pre>
  <p>Someone please can tell me how can I resolve this issue ?
  Thank you</p>