TensorFlow错误:ValueError: Parent directory of my_tf_model doesn't exist, can't save

深度学习TensorFlow 603

出现这个错误的原因是因为要保存的目录不存在。

saver.save(sess, "./trained_variables.ckpt")

注意这里的目录配置

Post Comment