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

ImageNet dataset: resize the image or change the dimension of z #30

Open
Liang-ZX opened this issue Jul 5, 2021 · 1 comment
Open

Comments

@Liang-ZX
Copy link

Liang-ZX commented Jul 5, 2021

Hi Samarth, thanks for sharing your code.
However, I met a problem when I run this code with ImageNet dataset. The VAE class in model.py hard code the sample shape of z as 1024*4*4, which is not in line with the image size 224*224 of Imagenet. So, I would like to know whether I should resize the image to 32*32 or I should modify the VAE architecture? Thanks.

@devKhush
Copy link

Hi Samarth, thanks for sharing your code. However, I met a problem when I run this code with ImageNet dataset. The VAE class in model.py hard code the sample shape of z as 102444, which is not in line with the image size 224224 of Imagenet. So, I would like to know whether I should resize the image to 3232 or I should modify the VAE architecture? Thanks.

Did you find any way to fix this?

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