我要救我的tensorflow會議sess
但我有以下錯誤Tensorflow - ValueError異常:trained_variables.ckpt的父目錄不存在,無法保存
ValueError: Parent directory of trained_variables.ckpt doesn't exist, can't save.
這是我的線代碼:
saver.save(sess, "trained_variables.ckpt")
我也試圖改變文件名,並把model
,而不是trained_variables.ckpt
,但我得到了同樣的問題。
按照本教程A TensorFlow Tutorial: Email Classification
我跳進了同樣的問題。它在Ubuntu中工作,但不在Windows中。 –