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

Need help with this issue #31

Open
MagnificentCreature opened this issue Feb 23, 2020 · 1 comment
Open

Need help with this issue #31

MagnificentCreature opened this issue Feb 23, 2020 · 1 comment

Comments

@MagnificentCreature
Copy link

MagnificentCreature commented Feb 23, 2020

File "C:/Users/seanw/.spyder-py3/temp.py", line 42, in
label = int(filename.split('\\')[2])

ValueError: invalid literal for int() with base 10: 'im56908.png'

@wutonghhu
Copy link

I‘m not sure if i did it right. I changed [2] into [-2], and the Error disappeared.
btw,I met a issue in the last part :

gzip resulting files

for name in Names:
os.system('gzip' + name[1] + '-images-idx3-ubyte')
os.system('gzip' + name[1] + '-labels-idx1-ubyte')
the error is :
'gziptrain-images-idx3-ubyte' is not an internal or external command, nor is it a runnable program
Or batch files.

can you help me with this one?

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