Skip to content

Instantly share code, notes, and snippets.

@lextra2
Created July 20, 2019 20:03
Show Gist options
  • Save lextra2/c4bcf060989f98107a3b6c692b117013 to your computer and use it in GitHub Desktop.
Save lextra2/c4bcf060989f98107a3b6c692b117013 to your computer and use it in GitHub Desktop.
Waifu2x.bat for https://github.com/nihui/waifu2x-ncnn-vulkan/releases version 20190712 - optimized for a 4GB GPU
waifu2x-ncnn-vulkan.exe -i input -o output -n 3 -s 2 -t 300 -j 1:2:2
@lextra2
Copy link
Author

lextra2 commented Jul 20, 2019

With these settings I get an average processing time of 3.57 seconds per image (with an RX 580 4GB) when upscaling 8 test images from the One Punch Man anime S01E01 BluRay Raw source (1920x1080). It used to be ~6.2 seconds. This project really did improve tremendously. I'd imagine high end gpus like the Radeon VII or the RTX 2080ti to take as little as a mere second.

@lextra2
Copy link
Author

lextra2 commented May 16, 2020

Powershell:
Measure-Command { .\waifu2x-ncnn-vulkan.exe -i input -o output -n 2 -s 2 -m models-upconv_7_anime_style_art_rgb }
or
Measure-Command { .\start.bat }

@lextra2
Copy link
Author

lextra2 commented May 16, 2020

ffmpeg -r 24 -i %04d.png.png -c:v libx264 -crf 10 -pix_fmt yuv420p TEST.mkv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment