All Projects → nihui → Srmd Ncnn Vulkan

nihui / Srmd Ncnn Vulkan

Licence: mit
SRMD super resolution implemented with ncnn library

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Srmd Ncnn Vulkan

Waifu2x Ncnn Vulkan
waifu2x converter ncnn version, runs fast on intel / amd / nvidia GPU with vulkan
Stars: ✭ 1,258 (+576.34%)
Mutual labels:  nvidia, intel, amd, vulkan, gpu
Realsr Ncnn Vulkan
RealSR super resolution implemented with ncnn library
Stars: ✭ 357 (+91.94%)
Mutual labels:  nvidia, intel, amd, vulkan, gpu
Coriander
Build NVIDIA® CUDA™ code for OpenCL™ 1.2 devices
Stars: ✭ 665 (+257.53%)
Mutual labels:  nvidia, intel, amd, gpu
Parenchyma
An extensible HPC framework for CUDA, OpenCL and native CPU.
Stars: ✭ 71 (-61.83%)
Mutual labels:  nvidia, intel, amd, gpu
Ilgpu
ILGPU JIT Compiler for high-performance .Net GPU programs
Stars: ✭ 374 (+101.08%)
Mutual labels:  nvidia, intel, amd, gpu
gpustats
Statistics on GPUs
Stars: ✭ 21 (-88.71%)
Mutual labels:  amd, gpu, nvidia
Ocl
OpenCL for Rust
Stars: ✭ 453 (+143.55%)
Mutual labels:  nvidia, intel, amd
Staxrip
StaxRip is a video encoding app for Windows with a unrivaled feature set and usability.
Stars: ✭ 629 (+238.17%)
Mutual labels:  nvidia, intel, amd
Tf Coriander
OpenCL 1.2 implementation for Tensorflow
Stars: ✭ 775 (+316.67%)
Mutual labels:  nvidia, intel, gpu
Inventory Hunter
⚡️ Get notified as soon as your next CPU, GPU, or game console is in stock
Stars: ✭ 778 (+318.28%)
Mutual labels:  nvidia, intel, amd
Pyopencl
OpenCL integration for Python, plus shiny features
Stars: ✭ 790 (+324.73%)
Mutual labels:  nvidia, amd, gpu
Awesome Vulkan
Awesome Vulkan ecosystem
Stars: ✭ 2,322 (+1148.39%)
Mutual labels:  nvidia, amd, vulkan
Nplusminer
NPlusMiner + GUI | NVIDIA/AMD/CPU miner | AI | Autoupdate | MultiRig remote management
Stars: ✭ 75 (-59.68%)
Mutual labels:  nvidia, amd, gpu
Anakin
High performance Cross-platform Inference-engine, you could run Anakin on x86-cpu,arm, nv-gpu, amd-gpu,bitmain and cambricon devices.
Stars: ✭ 488 (+162.37%)
Mutual labels:  nvidia, intel, amd
docker-nvidia-glx-desktop
MATE Desktop container designed for Kubernetes supporting OpenGL GLX and Vulkan for NVIDIA GPUs with WebRTC and HTML5, providing an open source remote cloud graphics or game streaming platform. Spawns its own fully isolated X Server instead of using the host X server, therefore not requiring /tmp/.X11-unix host sockets or host configuration.
Stars: ✭ 47 (-74.73%)
Mutual labels:  gpu, vulkan, nvidia
gpu-passthrough
A GPU passthrough tutorial using libvirt and KVM on GNU/Linux
Stars: ✭ 57 (-69.35%)
Mutual labels:  amd, intel, nvidia
Autodesk-Fusion-360-for-Linux
This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
Stars: ✭ 810 (+335.48%)
Mutual labels:  amd, intel, nvidia
darknet
Darknet on OpenCL Convolutional Neural Networks on OpenCL on Intel & NVidia & AMD & Mali GPUs for macOS & GNU/Linux
Stars: ✭ 160 (-13.98%)
Mutual labels:  amd, intel, nvidia
Hidden Miner Builder
Hidden miner builder
Stars: ✭ 58 (-68.82%)
Mutual labels:  nvidia, amd, gpu
Shadowreplay Linux
Shadowplay's Replay Feature On Linux For Nvidia, AMD and Intel
Stars: ✭ 79 (-57.53%)
Mutual labels:  nvidia, intel, amd

SRMD ncnn Vulkan

CI

ncnn implementation of SRMD super resolution.

srmd-ncnn-vulkan uses ncnn project as the universal neural network inference framework.

Download

Download Windows/Linux/MacOS Executable for Intel/AMD/Nvidia GPU

https://github.com/nihui/srmd-ncnn-vulkan/releases

This package includes all the binaries and models required. It is portable, so no CUDA or Caffe runtime environment is needed :)

Usages

Example Command

srmd-ncnn-vulkan.exe -i input.jpg -o output.png -n 3 -s 2

Full Usages

Usage: srmd-ncnn-vulkan -i infile -o outfile [options]...

  -h                   show this help
  -v                   verbose output
  -i input-path        input image path (jpg/png/webp) or directory
  -o output-path       output image path (jpg/png/webp) or directory
  -n noise-level       denoise level (-1/0/1/2/3/4/5/6/7/8/9/10, default=3)
  -s scale             upscale ratio (2/3/4, default=2)
  -t tile-size         tile size (>=32/0=auto, default=0) can be 0,0,0 for multi-gpu
  -m model-path        srmd model path (default=models-srmd)
  -g gpu-id            gpu device to use (default=0) can be 0,1,2 for multi-gpu
  -j load:proc:save    thread count for load/proc/save (default=1:2:2) can be 1:2,2,2:2 for multi-gpu
  -x                   enable tta mode
  -f format            output image format (jpg/png/webp, default=ext/png)
  • input-path and output-path accept either file path or directory path
  • noise-level = noise level, large value means strong denoise effect, -1 = no effect
  • scale = scale level, 2 = upscale 2x, 3 = upscale 3x, 4 = upscale 4x
  • tile-size = tile size, use smaller value to reduce GPU memory usage, default selects automatically
  • load:proc:save = thread count for the three stages (image decoding + waifu2x upscaling + image encoding), using larger values may increase GPU usage and consume more GPU memory. You can tune this configuration with "4:4:4" for many small-size images, and "2:2:2" for large-size images. The default setting usually works fine for most situations. If you find that your GPU is hungry, try increasing thread count to achieve faster processing.
  • format = the format of the image to be output, png is better supported, however webp generally yields smaller file sizes, both are losslessly encoded

If you encounter a crash or error, try upgrading your GPU driver:

Sample Images

Original Image

origin

Upscale 4x with ImageMagick Lanczo4 Filter

convert origin.jpg -resize 400% output.png

browser

Upscale 4x with waifu2x scale=2 model=upconv_7_photo twice

waifu2x-ncnn-vulkan.exe -i origin.jpg -o 2x.png -s 2 -m models-upconv_7_photo
waifu2x-ncnn-vulkan.exe -i 2x.png -o 4x.png -s 2 -m models-upconv_7_photo

waifu2x

Upscale 4x with srmd noise=3 scale=4

srmd-ncnn-vulkan.exe -i origin.jpg -o output.png -n 3 -s 4

srmd

Original SRMD Project

Other Open-Source Code Used

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].