开发者社区> 问答> 正文

Tensorflow 运行examples中mnist_with_summaries.py出现的问题

boyinblackhat 2017-09-27 23:34:30 3061

image
python C:tensorflow-1.3.0tensorflowexamplestutorialsmnistmnist_with_summaries.py
遇到了以下问题:
Traceback (most recent call last):
File "C:tensorflow-1.3.0tensorflowexamplestutorialsmnistmnist_with_summaries.py", line 214, in

tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)

File "C:Program FilesPython35libsite-packagestensorflowpythonplatformapp.py", line 48, in run

_sys.exit(main(_sys.argv[:1] + flags_passthrough))

File "C:tensorflow-1.3.0tensorflowexamplestutorialsmnistmnist_with_summaries.py", line 187, in main

train()

File "C:tensorflow-1.3.0tensorflowexamplestutorialsmnistmnist_with_summaries.py", line 42, in train

fake_data=FLAGS.fake_data)

File "C:Program FilesPython35libsite-packagestensorflowcontriblearnpythonlearndatasetsmnist.py", line 235,
in read_data_sets

SOURCE_URL + TRAIN_IMAGES)

File "C:Program FilesPython35libsite-packagestensorflowcontriblearnpythonlearndatasetsbase.py", line 209, i
n maybe_download

gfile.Copy(temp_file_name, filepath)

File "C:Program FilesPython35libsite-packagestensorflowpythonlibiofile_io.py", line 384, in copy

compat.as_bytes(oldpath), compat.as_bytes(newpath), overwrite, status)

File "C:Program FilesPython35libcontextlib.py", line 66, in exit

next(self.gen)

File "C:Program FilesPython35libsite-packagestensorflowpythonframeworkerrors_impl.py", line 466, in raise_exce
ption_on_not_ok_status

pywrap_tensorflow.TF_GetCode(status))

tensorflow.python.framework.errors_impl.NotFoundError: Can not get size for: C:Users黄小乔AppDataLocalTemptmp8cusn
j4z : u03f5u0373udcd5u04b2udcbbudcb5udcbdu05b8udcb6udca8udcb5udcc4·udcbeudcb6udca1udca3

TensorFlow 算法框架/工具 Python
分享到
取消 提交回答
全部回答(1)
  • 冰封加百列
    2019-07-17 21:37:10

    可能是"黄小乔"的编码问题,在选择路径的时候尽量不要带中文和字符,我之前就遇到tensorboard的有这个问题,希望对楼主有帮助

    0 0
+ 订阅

了解行业+人工智能最先进的技术和实践,参与行业+人工智能实践项目

推荐文章
相似问题
推荐课程