使用python 6.4在Windows 10 64位中出现'tf.app.flag'错误

时间:2017-12-30 16:09:53

标签: python tensorflow

Traceback (most recent call last):
  File "C:\Users\uname\Downloads\object-detection\generate_tfrecords.py", line 99, in <module>
    tf.app.run()
  File "C:\Users\uname\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "C:\Users\uname\Downloads\object-detection\generate_tfrecords.py", line 85, in main
    writer = tf.python_io.TFRecordWriter(FLAGS.output_path)
  File "C:\Users\uname\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\lib\io\tf_record.py", line 106, in __init__
    compat.as_bytes(path), compat.as_bytes(compression_type), status)
  File "C:\Users\uname\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 473, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: Failed to create a NewWriteableFile:  : The system cannot find the path specified.

; No such process

0 个答案:

没有答案