• 解决报错:tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory
  • 执行命令时:python dataset_tools/create_pascal_tf_record.py --data_dir=voc/VOCdevkit/ --year=VOC2012 --set=val --output_path=voc/pascal_val.record,将“–output_path”误写为“–out_path”
  • 看看命令的参数有没有出错
Traceback (most recent call last):
  File "create_pascal_tf_record.py", line 185, in <module>
    tf.app.run()
  File "/home/muli/.local/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 126, in run
    _sys.exit(main(argv))
  File "create_pascal_tf_record.py", line 158, in main
    writer = tf.python_io.TFRecordWriter(FLAGS.output_path)
  File "/home/muli/.local/lib/python3.5/site-packages/tensorflow/python/lib/io/tf_record.py", line 112, in __init__
    compat.as_bytes(path), compat.as_bytes(compression_type), status)
  File "/home/muli/.local/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 519, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: ; No such file or directory
GitHub 加速计划 / te / tensorflow
184.55 K
74.12 K
下载
一个面向所有人的开源机器学习框架
最近提交(Master分支:2 个月前 )
a49e66f2 PiperOrigin-RevId: 663726708 3 个月前
91dac11a This test overrides disabled_backends, dropping the default value in the process. PiperOrigin-RevId: 663711155 3 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐