我想保存我的tensorflow会话,sess但我有以下错误
sess
ValueError: Parent directory of trained_variables.ckpt doesn't exist, can't save.
这是我的代码行:
saver.save(sess, "trained_variables.ckpt")
我也尝试更改文件名,model而不是,trained_variables.ckpt但我得到同样的问题.
model
trained_variables.ckpt
遵循本教程A TensorFlow教程:电子邮件分类
tensorflow
tensorflow ×1