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

这个问题是什么原因呢 #19

Open
nidebenmao opened this issue May 18, 2020 · 1 comment
Open

这个问题是什么原因呢 #19

nidebenmao opened this issue May 18, 2020 · 1 comment

Comments

@nidebenmao
Copy link

您好,我在训练您的tensorflowsh书写数字时候,遇见了这个问题,请问是什么原因呢

Traceback (most recent call last):
File "F:/stn1/inverse-compositional-STN-master/MNIST-tensorflow/train.py", line 74, in
traintrainData,validData,testData = data.loadMNIST("F:/stn1/inverse-compositional-STN-master/MNIST-tenso
rflow/data/MNIST.npz")
File "F:\stn1\inverse-compositional-STN-master\MNIST-tensorflow\data.py", line 25, in loadMNIST
trainData = MNIST["train"].item()
File "D:\python3\lib\site-packages\numpy\lib\npyio.py", line 262, in getitem
raise KeyError("%s is not a file in the archive" % key)
KeyError: 'train is not a file in the archive'

@chenhsuanlin
Copy link
Owner

I've never seen this problem -- did this happen when you first downloaded MNIST with Tensorflow? It's probably useful to look at what's stored inside the variable MNIST.

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