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

Image Size Problem #10

Closed
r05922121 opened this issue Mar 15, 2017 · 8 comments
Closed

Image Size Problem #10

r05922121 opened this issue Mar 15, 2017 · 8 comments

Comments

@r05922121
Copy link

Hi,
very thankful to your released code, it helps me a lot!
I have tried running on my own dataset.
If the image size is 3x32x32, all things go well.
However, when I set image size to 3x64x64, I got the error "/usr/local/bin/luajit: bad argument #2 to '?' (out of range at /root/torch/pkg/torch/generic/Tensor.c:913)"
Could you please help me with this problem?

@jwyang
Copy link
Owner

jwyang commented Mar 15, 2017

Hi, thanks,

I think that is because you did not change the network architecture, which still take 32x32 images as inputs. You need to define your own network architecture to train the model on images with size 64x64.

@r05922121
Copy link
Author

Hi, thanks for reply!
Therefore, I should change it in models_def, right?

@jwyang
Copy link
Owner

jwyang commented Mar 15, 2017

yes, exactly.

@r05922121
Copy link
Author

OK, I will close it, thanks!

@VeLKerr
Copy link

VeLKerr commented Jan 9, 2018

Hi, @jwyang ,
Could you please advice the architecture for clustering CIFAR-10?

@jwyang
Copy link
Owner

jwyang commented Jan 10, 2018

hi, @VeLKerr ,

you can use any architecture that could take 32x32 images as input. if you want, you can use the architecture for FRGC dataset.

@VeLKerr
Copy link

VeLKerr commented Jan 10, 2018

Thank you for quick reply!
I've changed nInputPlanes from 3 to 4 (because having RGBA images) and training started.

@jwyang
Copy link
Owner

jwyang commented Jan 10, 2018

great!

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