Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在运行mnist_softmax.py是遇到了一些问题,希望同学能够帮助解答一些 #1

Open
wenmangayao opened this issue May 15, 2016 · 1 comment

Comments

@wenmangayao
Copy link

wenmangayao commented May 15, 2016

代码如下
Traceback (most recent call last): File "mnist_softmax.py", line 40, in <module> mnist = input_data.read_data_sets(FLAGS.data_dir, one_hot=True) File "/home/liushiyao/tensorflow-train/mnist/input_data.py", line 201, in read_data_sets local_file = maybe_download(TRAIN_IMAGES, train_dir) File "/home/liushiyao/tensorflow-train/mnist/input_data.py", line 38, in maybe_download if not tf.gfile.Exists(work_directory): AttributeError: 'module' object has no attribute 'gfile'

@wlmnzf
Copy link
Owner

wlmnzf commented May 23, 2016

这个是版本的问题吧,之前用0.6的tensorflow也出这个问题,升级以后用的是0.7的版本,就ok了,请参考

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants