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

Result is too big #49

Open
ChriswooTalent opened this issue Oct 17, 2019 · 2 comments
Open

Result is too big #49

ChriswooTalent opened this issue Oct 17, 2019 · 2 comments

Comments

@ChriswooTalent
Copy link

Hi:
Thanks for your sharing, I get the images and weights, set scale 2, use model weights/RBPN_2x.pth, but got a very big result, psnr is nan, how can I fix this bug

@agyptl
Copy link

agyptl commented Nov 14, 2019

The reason why psnr is nan is that the shape of target and predition are 3x576x720, the height and width should be the last two but the method in this project takes the 3 channels as height,so that the tensor shape is wrong.
I also tried to run the test code on the vid4 dataset, but the psnr calculated according to the method in the project is inconsistent with the paper. Have you seen this happen?

@lunashen0709
Copy link

The reason why psnr is nan is that the shape of target and predition are 3x576x720, the height and width should be the last two but the method in this project takes the 3 channels as height,so that the tensor shape is wrong.
I also tried to run the test code on the vid4 dataset, but the psnr calculated according to the method in the project is inconsistent with the paper. Have you seen this happen?

me

The reason why psnr is nan is that the shape of target and predition are 3x576x720, the height and width should be the last two but the method in this project takes the 3 channels as height,so that the tensor shape is wrong.
I also tried to run the test code on the vid4 dataset, but the psnr calculated according to the method in the project is inconsistent with the paper. Have you seen this happen?

ME TOO,have you solved the problem?

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