← 返回命令列表

Linux command

waifu2x-ncnn-vulkan 命令

文本

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

常用示例

Upscale image

waifu2x-ncnn-vulkan -i [input.png] -o [output.png]

2x scale

waifu2x-ncnn-vulkan -i [input.png] -o [output.png] -s [2]

Denoise

waifu2x-ncnn-vulkan -i [input.png] -o [output.png] -n [2]

Use specific GPU

waifu2x-ncnn-vulkan -i [input] -o [output] -g [0]

Tile size

waifu2x-ncnn-vulkan -i [input] -o [output] -t [400]

说明

waifu2x-ncnn-vulkan is an AI-powered image upscaling and denoising tool that uses convolutional neural networks to enlarge images while preserving detail. It is particularly effective for anime-style artwork and illustrations, producing cleaner results than traditional interpolation methods. The tool supports 2x upscaling and multiple noise reduction levels for removing JPEG compression artifacts. It uses the ncnn neural network inference framework with Vulkan GPU acceleration, enabling fast processing on a wide range of graphics hardware without requiring CUDA or specific vendor drivers. Processing can be tuned with tile size options to manage GPU memory usage for large images, and specific GPUs can be selected on multi-GPU systems. Input and output support common image formats including PNG, JPEG, and WebP.

参数

-i _FILE_
Input file.
-o _FILE_
Output file.
-s _SCALE_
Scale ratio (2).
-n _LEVEL_
Noise level (-1,0,1,2,3).
-g _GPU_
GPU device.
-t _SIZE_
Tile size.

FAQ

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

waifu2x-ncnn-vulkan is an AI-powered image upscaling and denoising tool that uses convolutional neural networks to enlarge images while preserving detail. It is particularly effective for anime-style artwork and illustrations, producing cleaner results than traditional interpolation methods. The tool supports 2x upscaling and multiple noise reduction levels for removing JPEG compression artifacts. It uses the ncnn neural network inference framework with Vulkan GPU acceleration, enabling fast processing on a wide range of graphics hardware without requiring CUDA or specific vendor drivers. Processing can be tuned with tile size options to manage GPU memory usage for large images, and specific GPUs can be selected on multi-GPU systems. Input and output support common image formats including PNG, JPEG, and WebP.

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

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

What does -i _FILE_ do in waifu2x-ncnn-vulkan?

Input file.