在进行测试训练好的神经网络时,加载图和变量.meta读取错误?
# 加载图和变量(这里我选择的是step=900的图,使用的是绝对路径。)
saver = tf.train.import_meta_graph('E:\DeepLearn\inception_v3\ runs\ 1580956790\checkpoints\model-900.meta')
报错内容如下:
saver = tf.train.import_meta_graph('E:\DeepLearn\inception_v3\ runs\ 1580956790\checkpoints\model-900.meta')
File "C:\ANaconda\lib\site-packages\tensorflow\python\training\saver.py", line 1435, in import_meta_graph
meta_graph_or_file, clear_devices, import_scope, **kwargs)[0]
File "C:\ANaconda\lib\site-packages\tensorflow\python\training\saver.py", line 1447, in _import_meta_graph_with_return_elements
meta_graph_def = meta_graph.read_meta_graph_file(meta_graph_or_file)
File "C:\ANaconda\lib\site-packages\tensorflow\python\framework\meta_graph.py", line 633, in read_meta_graph_file
raise IOError("File %s does not exist." % filename)
OSError: File E:\DeepLearn\inception_v3\ runs\ 1580956790\checkpoints\model-900.meta does not exist.
Backend Qt5Agg is interactive backend. Turning interactive mode on.
Process finished with exit code 1