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

Dimension mismatch error on changing image dimensions #4

Open
purijs opened this issue Nov 4, 2020 · 1 comment
Open

Dimension mismatch error on changing image dimensions #4

purijs opened this issue Nov 4, 2020 · 1 comment

Comments

@purijs
Copy link

purijs commented Nov 4, 2020

My hr images are 256x256 and lr is 64x64, with batch_size=8 and scale=4

I'm getting this error:
RuntimeError: size mismatch, m1: [8 x 73728], m2: [8192 x 100] at /opt/conda/conda-bld/pytorch_1579022060824/work/aten/src/THC/generic/THCTensorMathBlas.cu:290

@ghost
Copy link

ghost commented Dec 21, 2020

Before training, you have to resize your hr & lr images. (hr: 128x128, lr: 32x32)

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

1 participant