如何根据keras的fit后返回的history绘制loss acc曲线

model.summary() #绘制acc-loss曲线 import matplotlib.pyplot as plt plt.plot(hist.history['loss'],color='r') plt.plot(hist.history['val_loss'],color='g') plt.plot(hist.history['acc'],color='b') plt.plot(his
相关文章
相关标签/搜索