File "eval.py", line 76, in
tf.app.run()
File "/Library/Python/2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "eval.py", line 24, in main
with open(FLAGS.image_file, 'rb') as img:
IOError: [Errno 2] No such file or directory: 'a.jpg'
第一次运行报这个错误,我添加了一张图片,但是又报
DataLossError (see above for traceback): Unable to open table file /Users/taowei/Documents/python_wrokspace/fast-neural-style-tensorflow-master1/img/wave.jpg: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
[[Node: save/RestoreV2_4 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_4/tensor_names, save/RestoreV2_4/shape_and_slices)]]
这个错误
请问是什么原因?
有联系方式吗? 我想问你一些关于tensorflow 的内容。 taowei728@163.com
File "eval.py", line 76, in
tf.app.run()
File "/Library/Python/2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "eval.py", line 24, in main
with open(FLAGS.image_file, 'rb') as img:
IOError: [Errno 2] No such file or directory: 'a.jpg'
第一次运行报这个错误,我添加了一张图片,但是又报
DataLossError (see above for traceback): Unable to open table file /Users/taowei/Documents/python_wrokspace/fast-neural-style-tensorflow-master1/img/wave.jpg: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator? [[Node: save/RestoreV2_4 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_4/tensor_names, save/RestoreV2_4/shape_and_slices)]] 这个错误 请问是什么原因? 有联系方式吗? 我想问你一些关于tensorflow 的内容。 taowei728@163.com