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

Is there a limit to the input image resolution? #12

Closed
yinnhao opened this issue May 31, 2019 · 5 comments
Closed

Is there a limit to the input image resolution? #12

yinnhao opened this issue May 31, 2019 · 5 comments

Comments

@yinnhao
Copy link

yinnhao commented May 31, 2019

github

this error occurred when I feed 1080p video into the network loaded from "EDVR_REDS_deblurcomp_L.pth".
everything is ok on lower resolution video.
@xinntao

@yinnhao
Copy link
Author

yinnhao commented May 31, 2019

'Predeblur' requires the width and height of the image to be a multiple of 8? @xinntao

@iPrayerr
Copy link

Same to you. I found that it can only receive frames with resolution 64×64, just like the paper said. I just wanna know if I can change some parameters to accept 1080p video testing.

@iPrayerr
Copy link

Don't tell me I can use opencv to resize - it's really a mess

@xinntao
Copy link
Owner

xinntao commented Jun 1, 2019

@hahahaprince , the width and heights of the input image should be a multiple of 4, which used by the predeblur module and the PCD module.

@iPrayerr , it can receive frames whose width and heights are a multiple of 4. If your input video does not meet this requirement, you can pad by zero or reflection. After processing, you can then crop the extra pixels.

@yinnhao yinnhao closed this as completed Jun 3, 2019
@yinnhao
Copy link
Author

yinnhao commented Jun 3, 2019

@hahahaprince , the width and heights of the input image should be a multiple of 4, which used by the predeblur module and the PCD module.

@iPrayerr , it can receive frames whose width and heights are a multiple of 4. If your input video does not meet this requirement, you can pad by zero or reflection. After processing, you can then crop the extra pixels.

okay, thank you!

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