Views
No views yet
RealESRGAN_x4plus_anime_6B.pth pre-trained generator weights from the xinntao/Real-ESRGAN project. The file is a 1:1 mirror of the asset originally released by Xintao Wang on August 31, 2021 as part of Real-ESRGAN v0.2.2.4.x4plus model (~67 MB) — and is intended for upscaling anime / illustration content. Visual comparisons with waifu2x are documented in the upstream docs/anime_model.md.| Field | Value |
|---|---|
| Original release | v0.2.2.4, 31 Aug 2021 |
| Authors | Xintao Wang, Liangbin Xie, Chao Dong, Ying Shan — Tencent ARC Lab; Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences (paper) |
| Architecture | RRDBNet(num_in_ch=3, num_out_ch=3, num_feat=64, num_block=6, num_grow_ch=32, scale=4) (source). The _6B suffix denotes 6 RRDB blocks, vs. 23 in the standard x4plus. |
| Upscale factor | 4× |
| Weight file | RealESRGAN_x4plus_anime_6B.pth (~18 MB) |
| Domain | Anime / illustration imagery |
| Paper | Wang et al., 2021 — Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data (ICCVW 2021) |
| License | BSD 3-Clause, Copyright (c) 2021 Xintao Wang |
| Source repository | github.com/xinntao/Real-ESRGAN |
| Original asset URL | github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth |
| Reference doc | docs/anime_model.md |
x4plus checkpoint and correspondingly faster at inference. For natural photographs and general scenes the larger amd/realesrgan-x4plus (23-block) checkpoint typically gives better results.anime_model.md:1# 1. Clone Real-ESRGAN
2git clone https://github.com/xinntao/Real-ESRGAN.git
3cd Real-ESRGAN
4
5# 2. Install dependencies
6pip install basicsr facexlib gfpgan
7pip install -r requirements.txt
8python setup.py develop
9
10# 3. Download the weights from this Hugging Face repo
11huggingface-cli download amd/realesrgan-x4plus-anime-6b RealESRGAN_x4plus_anime_6B.pth --local-dir weights
12
13# 4. Run inference
14python inference_realesrgan.py -n RealESRGAN_x4plus_anime_6B -i inputsrealesrgan-x4plus-anime model name in Real-ESRGAN-ncnn-vulkan — see the upstream README.md for the full set of options.x4plus checkpoint. Wang et al. (2021) generally note that Real-ESRGAN can still introduce aliasing or artifacts on difficult inputs; see the upstream anime_model.md for qualitative comparisons against waifu2x.1@InProceedings{wang2021realesrgan,
2 author = {Xintao Wang and Liangbin Xie and Chao Dong and Ying Shan},
3 title = {Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data},
4 booktitle = {International Conference on Computer Vision Workshops (ICCVW)},
5 date = {2021}
6}