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

Feature Request #199

Open
flamekiller22 opened this issue Feb 25, 2023 · 3 comments
Open

Feature Request #199

flamekiller22 opened this issue Feb 25, 2023 · 3 comments

Comments

@flamekiller22
Copy link

Current options for upscale are fixed ratios like 2x,3x,4x etc.
Currently I am using this to upscale images (long-strip style ones) from around 600-650px wide to 800px wide.
But the only option for me is to use 2x which is a waste imo but I honestly have no idea if there would be a way to get it done so I don't have to use 2x and can just use a custom width. Let me know if it's possible.

TLDR:
Requesting an option to upscale to a specific width.

Thanks.

@Nova-Aurora
Copy link
Contributor

Currently the model only does 2x. If you do 4x, it just runs the model twice. For a custom width, it would have to run the 2x model, then use some downscaler to reduce it to size.

@flamekiller22
Copy link
Author

That is exactly what I am doing right now. And that is precisely the reason why I added the title as feature request.

@NeedsMoar
Copy link

The models don't work that way, they're fixed ratio.

But the only option for me is to use 2x which is a waste imo

A waste of what exactly?
If anything running a gpu-based network to do a 1.23-1.5x upscale is a bigger "waste". Bicubic works fine for that scaling level, or spline36 or lanczos if you want to get all fancy. It's more of a pain if you've got some stupid aspect ratio of source video and you need to upscale 30,000 frames then downsize them to fit vertically, but even that's just a temporary waste of disk space.

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