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
OverflowError: unsigned byte integer is greater than maximum #12
Comments
https://github.com/gskielian/JPG-PNG-to-MNIST-NN-Format/issues/3 |
Still facing this issue and the above link does not work. |
is this error solved yet?? cause i am getting this same problem.... |
Hey, So my solution to this was to do the following. `
` |
I am having the same issue. The code you provided above did not help in my case. I have an image size of 800x500. |
@ghulammustufa31 Did you figure it out? I am stuck on this |
#this worked for me import os #WARNING: resize images first Load from and save toNames = [['./test-imgs-rot','test']] for name in Names:
Usefull for further segmenting the validation set
gzip resulting filesfor name in Names: |
@KumarLamic why did you change the from 6 to 10 in hexval |
that was just a random trial and it worked for me |
When my dataset goes to 77000+ images, there is an error:
Traceback (most recent call last): File "convert-images-to-mnist-format.py", line 46, in <module> header.append(long('0x'+hexval[2:][2:],16)) OverflowError: unsigned byte integer is greater than maximum
Can anybody help me?
I think it is because images too many, how to fix it?
The text was updated successfully, but these errors were encountered: