当我运行程序时,它将报告此错误:
from PIL import Image
model.fit_generator(
train_generator,
steps_per_epoch=2000 // batch_size,
epochs=50,
validation_data=validation_generator,
validation_steps=800 // batch_size)
model.save_weights('first_try.h5')
output will display like: Epoch 1/50
34/125 [=======>......................] - ETA: 7:23 - loss: 0.7237 - acc: 0.5478 ... comntinue
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect date
value: '3 Aug, 2000' for column 'dob' at row