Overview
Real-ESRGAN provides portable executable files powered by NCNN and Vulkan. These executables work on Intel/AMD/Nvidia GPUs without requiring Python, PyTorch, or CUDA installation.The NCNN executable is ideal for users who want a simple, portable solution without setting up a Python environment.
Download Executables
Windows
Download for Windows
Linux
Download for Ubuntu/Linux
MacOS
Download for MacOS
Direct Download Links
Quick Start
Command-Line Reference
Basic Syntax
Arguments
Show help message
Input image path (jpg/png/webp) or directoryExamples:
- Single file:
-i input.jpg - Directory:
-i input_folder
Output image path (jpg/png/webp) or directoryExamples:
- Single file:
-o output.png - Directory:
-o output_folder
Upscale ratio: 2, 3, or 4Example:
-s 2 for 2x upscalingTile size (>=32 or 0=auto)
0: Auto tile size>=32: Manual tile size- Format for multi-GPU:
0,0,0
Folder path to pre-trained models
Model name to use. Options:
realesr-animevideov3(default)realesrgan-x4plusrealesrgan-x4plus-animerealesrnet-x4plus
GPU device to use
auto: Automatic selection- Single GPU:
-g 0,-g 1, etc. - Multi-GPU:
-g 0,1,2
Thread count for load/proc/save
- Default:
1:2:2 - Multi-GPU:
1:2,2,2:2
Enable TTA (Test-Time Augmentation) modeImproves quality but increases processing time.
Output image format: jpg, png, or webp
- Default: same as input or PNG
Verbose output (show detailed information)
Available Models
- realesr-animevideov3
- realesrgan-x4plus
- realesrgan-x4plus-anime
- realesrnet-x4plus
Default model - Optimized for anime videos and images
- Size: XS (~8MB)
- Best for: Anime images and video frames
- Speed: Fast
Usage Examples
General Images
Anime Images
Video Frames Processing
Advanced Options
Performance Tips
NCNN vs Python Implementation
- Advantages
- Limitations
- Comparison
NCNN Advantages:✓ No Python/PyTorch installation required
✓ Portable executable - works out of the box
✓ Works with Intel/AMD GPUs via Vulkan
✓ Smaller download size
✓ No CUDA requirement
✓ Easier for non-technical users
Troubleshooting
Vulkan not found error
Vulkan not found error
Install Vulkan drivers for your GPU:Windows:MacOS:
- Nvidia: Install latest GeForce drivers
- AMD: Install latest Radeon drivers
- Intel: Install latest graphics drivers
- macOS 10.15+ includes Vulkan support via MoltenVK
Out of memory error
Out of memory error
Reduce tile size:Or use an even smaller tile size:
Block artifacts in output
Block artifacts in output
This is due to tiling. To minimize:
-
Use larger tile size (if memory allows):
-
Use auto tile size:
- If possible, disable tiling by using the Python implementation
Model not found error
Model not found error
Ensure models are in the correct directory:
- Check the
modelsfolder exists in the same directory as the executable - Verify model files are present
- Specify custom model path:
Slow processing on CPU
Slow processing on CPU
If using CPU instead of GPU:
- Install proper GPU drivers
- Verify Vulkan is working:
vulkaninfo(Linux) - Specify GPU explicitly:
Additional Resources
Real-ESRGAN-ncnn-vulkan
Official NCNN implementation repository
Python Inference
Full Python implementation with all features
Anime Videos
Process anime videos using NCNN
When to Use NCNN vs Python
- Use NCNN When
- Use Python When
✓ You don’t have Python installed
✓ You want a simple, portable solution
✓ You have Intel or AMD GPU (no CUDA)
✓ You need quick setup
✓ You’re processing standard images
✓ You don’t need face enhancement