为了账号安全,请及时绑定邮箱和手机立即绑定

请问这样的错误是什么问题?

D:\Anaconda3\envs\tfenv\python.exe "C:/Users/asus/Desktop/Python Learning/mnisttestdemo/mnist/main.py"

2019-08-25 16:51:30.438934: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

WARNING: Logging before flag parsing goes to stderr.

W0825 16:51:30.455873 13224 deprecation.py:323] From D:\Anaconda3\envs\tfenv\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.

Instructions for updating:

Use standard file APIs to check for files with this prefix.


正在回答

1 回答

WARNING:tensorflow:From D:/Python/workspace/Pybasis/minist/Handwritten_digit_main.py:11: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.WARNING:tensorflow:From D:\Python\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.Instructions for updating:Use standard file APIs to check for files with this prefix.Traceback (most recent call last):  File "D:/Python/workspace/Pybasis/minist/Handwritten_digit_main.py", line 12, in <module>    saver.restore(sess,"data/regression.ckpt")  File "D:\Python\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1278, in restore    compat.as_text(save_path))ValueError: The passed save_path is not a valid checkpoint: data/regression.ckptProcess finished with exit code 1


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

请问这样的错误是什么问题?

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信