How to make a model work for a custom resolution #1057
-
So in Upscayl app we can set a custom upscaling resolution but how do we do that for upscayl-ncnn? I'm using upscayl-ncnn to automate video upscaling with that code and I'd like to learn how to use it to upscale to a custom resolution. My goal is to upscale 720p to 1080p. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Hello @Xelvoren! I'm here to help you with any bugs, questions, or contributions you may have. Let's tackle this issue together. To set a custom resolution in upscayl-ncnn, you can use the "CUSTOM_INPUT_RESOLUTION" setting. This allows you to specify a custom output width for the image, and the height will be automatically adjusted. Enabling this option will override the default scale settings. Here's an example of how this setting is configured: {
"CUSTOM_INPUT_RESOLUTION": {
"TITLE": "カスタム出力幅",
"RESTART": "再起動が必要",
"DESCRIPTION": "出力画像のカスタム幅を使用します。高さは自動的に調整されます。これを有効にすると、スケール設定が上書きされます。"
}
} This configuration allows you to upscale from 720p to 1080p by setting the desired width, and the height will be adjusted accordingly [1]. |
Beta Was this translation helpful? Give feedback.
-
Check the help options for upscayl-bin with |
Beta Was this translation helpful? Give feedback.
Check the help options for upscayl-bin with
./upscayl-bin -h
.It should provide a custom width option as well as
-s
for scale.