第一种:修改代码keras.callbacks.ModelCheckpoint(filepath, monitor=‘val_loss’, verbose=0, save_best_only=False, save_weights_only=False, mode=‘auto’, period=1)
添加verbose=0(如果有则修改),会让警告消失但不会影响运行结果
第二种:调整batch_size的大小(只能为2^n) , 会影响结果
转载:Callbacks method on_test_batch_end
is slow