TF 的警告

来源:6-8 编写训练神经网络的方法(上)

慕容2478845

2019-02-11

WARNING: tensorflow: This model was compiled with a Keras optimizer (<tensorflow.python.keras.optimizers.Adam object at 0xb26b95f60>) but is being saved in TensorFlow format with save_weights. The model’s weights will be saved, but unlike with TensorFlow optimizers in the TensorFlow format the optimizer’s state will not be saved.

Consider using a TensorFlow optimizer from tf.train.

请问怎么解决这个错?
谢谢

写回答

1回答

Oscar

2019-02-13

这是一个warning,应该没事的。

0
0

基于Python玩转人工智能最火框架 TensorFlow应用实践

机器学习入门,打牢TensorFlow框架应用是关键!

2214 学习 · 688 问题

查看课程