Python - Predicting data based on multidimensional array with Keras
Change first layer with

regressor.add(LSTM(units=num_units, input_shape=(x_train.shape[1],x_train.shape[2])))


You need to have 2 numbers as input shape. 

Hope will help you.