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
可能是"黄小乔"的编码问题,在选择路径的时候尽量不要带中文和字符,我之前就遇到tensorboard的有这个问题,希望对楼主有帮助
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。