RealESRGAN_x4plus_anime_6B
This model is optimized specifically for anime images with a smaller network architecture (6 RRDB blocks) for efficient processing while maintaining high quality.
Model Specifications
| Property | Value |
|---|---|
| Scale | 4x |
| Architecture | RRDBNet |
| RRDB Blocks | 6 (vs 23 in general model) |
| Features | 64 |
| Growth Channels | 32 |
| Optimization | Anime-specific training data |
| Download | RealESRGAN_x4plus_anime_6B.pth |
Key Features
Anime-Optimized
Trained specifically on anime images for better line preservation and color handling
Compact Network
Only 6 RRDB blocks (vs 23 in general model) for faster processing
Sharp Lines
Preserves crisp anime line art without over-smoothing
Vibrant Colors
Maintains anime color characteristics and gradients
Usage
PyTorch Inference
NCNN (Portable Executable)
For Windows, Linux, or MacOS without Python installation:Comparisons with waifu2x
Real-ESRGAN anime model provides significant improvements over waifu2x, especially in detail preservation and artifact reduction.Comparison with waifu2x using
-n 2 -s 4 settingsVisual Comparison Examples
Advantages Over waifu2x
Better Detail Recovery
Recovers fine details in hair, clothing textures, and background elements
Reduced Artifacts
Fewer compression artifacts and smoother gradients
Line Preservation
Maintains crisp line art without introducing halos or blur
Color Accuracy
Better preservation of original anime color characteristics
Best Practices
For Anime Images
Line Art and Manga
Line Art and Manga
The anime model excels at preserving clean line art:
Colored Illustrations
Colored Illustrations
Works great for colored anime artwork:
Screenshots
Screenshots
Ideal for upscaling anime screenshots:
Large Images
Large Images
Use tiling for large manga pages or illustrations:
Command Options
Model Architecture Comparison
Anime vs General Model
| Feature | RealESRGAN_x4plus_anime_6B | RealESRGAN_x4plus |
|---|---|---|
| RRDB Blocks | 6 | 23 |
| Parameters | Fewer | More |
| Speed | Faster | Slower |
| Memory Usage | Lower | Higher |
| Training Data | Anime-specific | General images |
| Best For | Anime, manga, illustrations | Natural photos |
The anime model’s smaller architecture (6 blocks) makes it approximately 3-4x faster than the general model while maintaining high quality for anime content.
Discriminator Model
For Fine-tuning
For Fine-tuning
If you need to fine-tune the anime model on your own dataset:
This discriminator model is used during GAN training and is not needed for inference.
| Property | Value |
|---|---|
| Discriminator | RealESRGAN_x4plus_anime_6B_netD.pth |
| Corresponding Generator | RealESRGAN_x4plus_anime_6B |
Performance Tips
Batch Processing
Process multiple images efficiently:
GPU Memory
Use tiling for large images:
Custom Scale
Output at different scales:
Format Control
Control output format:
Next Steps
Video Models
Learn about anime video upscaling
General Models
Explore models for natural images