Google Colab:如何保存CNN模型的权重

时间:2018-10-19 09:48:44

标签: keras deep-learning google-colaboratory

执行以下操作后,我在CNN model上运行了GoogleColab

score = model.evaluate(x_test, y_test, verbose=1)
print('Test loss:', score[0])
print('Test accuracy:', score[1])
# Save the trained weights in to .h5 format
model.save_weights("Yolo_Basic_model2.h5")
print("Saved the model to disk")

我想将其保存到我的local pc中。 我该怎么做?

0 个答案:

没有答案