开发者社区> 问答> 正文

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

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

展开
收起
boyinblackhat 2017-09-27 23:34:30 5618 0
1 条回答
写回答
取消 提交回答
  • 个人博客www.soaringroad.com构建中,欢迎光临。

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

    2019-07-17 21:37:10
    赞同 展开评论 打赏
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
使用TensorFlow搭建智能开发系统自动生成App UI 立即下载
从零到一:IOS平台TensorFlow入门及应用详解 立即下载
从零到一:IOS平台TensorFlow入门及应用详解(附源 立即下载