← 返回命令列表

Linux command

realsr-ncnn-vulkan 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Upscale image

realsr-ncnn-vulkan -i [input.jpg] -o [output.png]

Specify scale factor

realsr-ncnn-vulkan -i [input.jpg] -o [output.png] -s [4]

Use specific model

realsr-ncnn-vulkan -i [input.jpg] -o [output.png] -m [models-DF2K]

Specify GPU

realsr-ncnn-vulkan -i [input.jpg] -o [output.png] -g [0]

说明

realsr-ncnn-vulkan is a Real-ESRGAN/Real-SR image upscaler using the ncnn neural network framework with Vulkan GPU acceleration. It produces high-quality upscaled images.

参数

-i _path_
Input image file.
-o _path_
Output image file.
-s _scale_
Upscale ratio (4 default).
-m _path_
Model directory.
-g _gpu_
GPU device ID (-1 for CPU).
-t _size_
Tile size.
-j _threads_
Processing threads.

FAQ

What is the realsr-ncnn-vulkan command used for?

realsr-ncnn-vulkan is a Real-ESRGAN/Real-SR image upscaler using the ncnn neural network framework with Vulkan GPU acceleration. It produces high-quality upscaled images.

How do I run a basic realsr-ncnn-vulkan example?

Run `realsr-ncnn-vulkan -i [input.jpg] -o [output.png]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -i _path_ do in realsr-ncnn-vulkan?

Input image file.