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

limited to 28x28 #15

Open
cw-delli-bird opened this issue Aug 1, 2017 · 2 comments
Open

limited to 28x28 #15

cw-delli-bird opened this issue Aug 1, 2017 · 2 comments

Comments

@cw-delli-bird
Copy link

If i have already adjusted my framework to except images larger than 28x28 will this encode the appropriate dimensions (ie 124x124) ?

@shguan10
Copy link

shguan10 commented Aug 3, 2017

This will only work with 28*28 images, as far as I know.

@bemoregt
Copy link

It seems Possible..

Look at this code from source :

if max([width,height]) <= 256:
	header.extend([0,0,0,width,0,0,0,height])
else:

raise ValueError('Image exceeds maximum size: 256x256 pixels');

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

3 participants