ValueError: When feeding symbolic tensors to a model, we expect the tensors to have a static batch size
问题 I am new to Keras and I was trying to build a text-classification CNN model using Python 3.6 when I encountered this error : Traceback (most recent call last): File "model.py", line 94, in <module> model.fit([x1, x2], y_label, batch_size=batch_size, epochs=epochs, verbose=1, callbacks=[checkpoint], validation_split=0.2) # starts training File "/../../anaconda3/lib/python3.6/site-packages/keras/engine/training.py", line 955, in fit batch_size=batch_size) File "/../../anaconda3/lib/python3.6