update readme
This commit is contained in:
11
README.md
11
README.md
@@ -12,7 +12,7 @@
|
|||||||
[](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/pylint.yml)
|
[](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/pylint.yml)
|
||||||
[](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/publish-pip.yml)
|
[](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/publish-pip.yml)
|
||||||
|
|
||||||
:fire: :fire: :fire: Add **small video models** for anime videos (**针对动漫视频的小模型**). Please see [anime video models](docs/anime_video_model.md).
|
:fire: Update the **RealESRGAN AnimeVideo-v3** model **更新动漫视频的小模型**. Please see [anime video models](docs/anime_video_model.md) and [comparisons](docs/anime_comparisons.md) for more details.
|
||||||
|
|
||||||
1. [Colab Demo](https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing) for Real-ESRGAN <a href="https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="google colab logo"></a>.
|
1. [Colab Demo](https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing) for Real-ESRGAN <a href="https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="google colab logo"></a>.
|
||||||
2. [Colab Demo](https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing) for Real-ESRGAN (**anime videos**) <a href="https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="google colab logo"></a>.
|
2. [Colab Demo](https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing) for Real-ESRGAN (**anime videos**) <a href="https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="google colab logo"></a>.
|
||||||
@@ -39,9 +39,10 @@ Other recommended projects:<br>
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!---------------------------------- Updates --------------------------->
|
<!---------------------------------- Updates --------------------------->
|
||||||
<details open>
|
<details>
|
||||||
<summary>🚩<b>Updates</b></summary>
|
<summary>🚩<b>Updates</b></summary>
|
||||||
|
|
||||||
|
- ✅ Update the **RealESRGAN AnimeVideo-v3** model. Please see [anime video models](docs/anime_video_model.md) and [comparisons](docs/anime_comparisons.md) for more details.
|
||||||
- ✅ Add small models for anime videos. More details are in [anime video models](docs/anime_video_model.md).
|
- ✅ Add small models for anime videos. More details are in [anime video models](docs/anime_video_model.md).
|
||||||
- ✅ Add the ncnn implementation [Real-ESRGAN-ncnn-vulkan](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan).
|
- ✅ Add the ncnn implementation [Real-ESRGAN-ncnn-vulkan](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan).
|
||||||
- ✅ Add [*RealESRGAN_x4plus_anime_6B.pth*](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth), which is optimized for **anime** images with much smaller model size. More details and comparisons with [waifu2x](https://github.com/nihui/waifu2x-ncnn-vulkan) are in [**anime_model.md**](docs/anime_model.md)
|
- ✅ Add [*RealESRGAN_x4plus_anime_6B.pth*](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth), which is optimized for **anime** images with much smaller model size. More details and comparisons with [waifu2x](https://github.com/nihui/waifu2x-ncnn-vulkan) are in [**anime_model.md**](docs/anime_model.md)
|
||||||
@@ -55,10 +56,10 @@ Other recommended projects:<br>
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
<!---------------------------------- Projects that use Real-ESRGAN --------------------------->
|
<!---------------------------------- Projects that use Real-ESRGAN --------------------------->
|
||||||
<details open>
|
<details>
|
||||||
<summary>🧩<b>Projects that use Real-ESRGAN</b></summary>
|
<summary>🧩<b>Projects that use Real-ESRGAN</b></summary>
|
||||||
|
|
||||||
If you develop/use Real-ESRGAN in your projects, welcome to let me know 👋
|
👋 If you develop/use Real-ESRGAN in your projects, welcome to let me know.
|
||||||
|
|
||||||
- NCNN-Android: [RealSR-NCNN-Android](https://github.com/tumuyan/RealSR-NCNN-Android) by [tumuyan](https://github.com/tumuyan)
|
- NCNN-Android: [RealSR-NCNN-Android](https://github.com/tumuyan/RealSR-NCNN-Android) by [tumuyan](https://github.com/tumuyan)
|
||||||
- VapourSynth: [vs-realesrgan](https://github.com/HolyWu/vs-realesrgan) by [HolyWu](https://github.com/HolyWu)
|
- VapourSynth: [vs-realesrgan](https://github.com/HolyWu/vs-realesrgan) by [HolyWu](https://github.com/HolyWu)
|
||||||
@@ -77,7 +78,7 @@ Other recommended projects:<br>
|
|||||||
|
|
||||||
<!---------------------------------- Demo videos --------------------------->
|
<!---------------------------------- Demo videos --------------------------->
|
||||||
<details open>
|
<details open>
|
||||||
<summary>👀<b>Demo videos</b>👀</summary>
|
<summary>👀<b>Demo videos</b></summary>
|
||||||
|
|
||||||
- [大闹天宫片段](https://www.bilibili.com/video/BV1ja41117zb)
|
- [大闹天宫片段](https://www.bilibili.com/video/BV1ja41117zb)
|
||||||
|
|
||||||
|
|||||||
13
README_CN.md
13
README_CN.md
@@ -12,7 +12,7 @@
|
|||||||
[](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/pylint.yml)
|
[](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/pylint.yml)
|
||||||
[](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/publish-pip.yml)
|
[](https://github.com/xinntao/Real-ESRGAN/blob/master/.github/workflows/publish-pip.yml)
|
||||||
|
|
||||||
:fire: :fire: :fire: 添加了**针对动漫视频的小模型**, 更多信息在 [anime video models](docs/anime_video_model.md) 中.
|
:fire: 更新动漫视频的小模型 **RealESRGAN AnimeVideo-v3**. 更多信息在 [anime video models](docs/anime_video_model.md) 和 [comparisons](docs/anime_comparisons.md)中.
|
||||||
|
|
||||||
1. Real-ESRGAN的[Colab Demo](https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing) <a href="https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="google colab logo"></a>.
|
1. Real-ESRGAN的[Colab Demo](https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing) <a href="https://colab.research.google.com/drive/1k2Zod6kSHEvraybHl50Lys0LerhyTMCo?usp=sharing"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="google colab logo"></a>.
|
||||||
2. Real-ESRGAN的 **动漫视频** 的[Colab Demo](https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing) <a href="https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="google colab logo"></a>.
|
2. Real-ESRGAN的 **动漫视频** 的[Colab Demo](https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing) <a href="https://colab.research.google.com/drive/1yNl9ORUxxlL4N0keJa2SEPB61imPQd1B?usp=sharing"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="google colab logo"></a>.
|
||||||
@@ -39,9 +39,10 @@ Real-ESRGAN 的目标是开发出**实用的图像/视频修复算法**。<br>
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!---------------------------------- Updates --------------------------->
|
<!---------------------------------- Updates --------------------------->
|
||||||
<details open>
|
<details>
|
||||||
<summary>🚩<b>更新</b></summary>
|
<summary>🚩<b>更新</b></summary>
|
||||||
|
|
||||||
|
- ✅ 更新动漫视频的小模型 **RealESRGAN AnimeVideo-v3**. 更多信息在 [anime video models](docs/anime_video_model.md) 和 [comparisons](docs/anime_comparisons.md)中.
|
||||||
- ✅ 添加了针对动漫视频的小模型, 更多信息在 [anime video models](docs/anime_video_model.md) 中.
|
- ✅ 添加了针对动漫视频的小模型, 更多信息在 [anime video models](docs/anime_video_model.md) 中.
|
||||||
- ✅ 添加了ncnn 实现:[Real-ESRGAN-ncnn-vulkan](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan).
|
- ✅ 添加了ncnn 实现:[Real-ESRGAN-ncnn-vulkan](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan).
|
||||||
- ✅ 添加了 [*RealESRGAN_x4plus_anime_6B.pth*](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth),对二次元图片进行了优化,并减少了model的大小。详情 以及 与[waifu2x](https://github.com/nihui/waifu2x-ncnn-vulkan)的对比请查看[**anime_model.md**](docs/anime_model.md)
|
- ✅ 添加了 [*RealESRGAN_x4plus_anime_6B.pth*](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth),对二次元图片进行了优化,并减少了model的大小。详情 以及 与[waifu2x](https://github.com/nihui/waifu2x-ncnn-vulkan)的对比请查看[**anime_model.md**](docs/anime_model.md)
|
||||||
@@ -55,10 +56,10 @@ Real-ESRGAN 的目标是开发出**实用的图像/视频修复算法**。<br>
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
<!---------------------------------- Projects that use Real-ESRGAN --------------------------->
|
<!---------------------------------- Projects that use Real-ESRGAN --------------------------->
|
||||||
<details open>
|
<details>
|
||||||
<summary>🧩<b>使用Real-ESRGAN的项目</b></summary>
|
<summary>🧩<b>使用Real-ESRGAN的项目</b></summary>
|
||||||
|
|
||||||
如果你开发/使用/集成了Real-ESRGAN, 欢迎联系我添加 👋
|
👋 如果你开发/使用/集成了Real-ESRGAN, 欢迎联系我添加
|
||||||
|
|
||||||
- NCNN-Android: [RealSR-NCNN-Android](https://github.com/tumuyan/RealSR-NCNN-Android) by [tumuyan](https://github.com/tumuyan)
|
- NCNN-Android: [RealSR-NCNN-Android](https://github.com/tumuyan/RealSR-NCNN-Android) by [tumuyan](https://github.com/tumuyan)
|
||||||
- VapourSynth: [vs-realesrgan](https://github.com/HolyWu/vs-realesrgan) by [HolyWu](https://github.com/HolyWu)
|
- VapourSynth: [vs-realesrgan](https://github.com/HolyWu/vs-realesrgan) by [HolyWu](https://github.com/HolyWu)
|
||||||
@@ -75,8 +76,8 @@ Real-ESRGAN 的目标是开发出**实用的图像/视频修复算法**。<br>
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details open>
|
<details>
|
||||||
<summary>👀<b>Demo视频(B站)</b>👀</summary>
|
<summary>👀<b>Demo视频(B站)</b></summary>
|
||||||
|
|
||||||
- [大闹天宫片段](https://www.bilibili.com/video/BV1ja41117zb)
|
- [大闹天宫片段](https://www.bilibili.com/video/BV1ja41117zb)
|
||||||
|
|
||||||
|
|||||||
@@ -1,52 +1,65 @@
|
|||||||
# Comparisons among different anime models
|
# Comparisons among different anime models
|
||||||
|
|
||||||
## Update News
|
## Update News
|
||||||
- 2022/04/22: Release AnimeVideo-**v3**, we have made the following improvements:
|
|
||||||
|
- 2022/04/24: Release **AnimeVideo-v3**. We have made the following improvements:
|
||||||
- **better naturalness**
|
- **better naturalness**
|
||||||
- **less artifacts**
|
- **Fewer artifacts**
|
||||||
- **more faithful to the original colors**
|
- **more faithful to the original colors**
|
||||||
- **better texture restoration**
|
- **better texture restoration**
|
||||||
- **better background restoration**
|
- **better background restoration**
|
||||||
|
|
||||||
## Compare methods
|
## Comparisons
|
||||||
* [waifu2x](https://github.com/nihui/waifu2x-ncnn-vulkan): the hyperparameters: `tile=0 `, `noiselevel=2`
|
|
||||||
* [Real-CUGAN](https://github.com/bilibili/ailab/tree/main/Real-CUGAN):
|
|
||||||
we use the [20220227](https://github.com/bilibili/ailab/releases/tag/Real-CUGAN-add-faster-low-memory-mode) version,
|
|
||||||
the hyperparameters are: `cache_mode=0`, `tile=0`, `alpha=1`.
|
|
||||||
* RealESRGAN-AnimeVideo-**v3** (ours latest released animevideo model)
|
|
||||||
|
|
||||||
## results
|
We have compared our RealESRGAN-AnimeVideo-v3 with the following methods.
|
||||||
|
Our RealESRGAN-AnimeVideo-v3 can achieve better results with faster inference speed.
|
||||||
|
|
||||||
|
- [waifu2x](https://github.com/nihui/waifu2x-ncnn-vulkan) with the hyperparameters: `tile=0`, `noiselevel=2`
|
||||||
|
|
||||||
|
- [Real-CUGAN](https://github.com/bilibili/ailab/tree/main/Real-CUGAN):
|
||||||
|
we use the [20220227](https://github.com/bilibili/ailab/releases/tag/Real-CUGAN-add-faster-low-memory-mode) version, the hyperparameters are: `cache_mode=0`, `tile=0`, `alpha=1`.
|
||||||
|
- our RealESRGAN-AnimeVideo-v3
|
||||||
|
|
||||||
|
## Results
|
||||||
|
|
||||||
You may need to **zoom in** for comparing details, or **click the image** to see in the full size.
|
You may need to **zoom in** for comparing details, or **click the image** to see in the full size.
|
||||||
|
|
||||||
|
**More natural results, better background restoration**
|
||||||
|
| Input | waifu2x | Real-CUGAN | RealESRGAN<br>AnimeVideo-v3 |
|
||||||
|
| :---: | :---: | :---: | :---: |
|
||||||
|
| |  |  |  |
|
||||||
|
| |  |  |  |
|
||||||
|
| |  |  |  |
|
||||||
|
|
||||||
|
**Fewer artifacts, better detailed textures**
|
||||||
| Input | waifu2x | Real-CUGAN | RealESRGAN<br>AnimeVideo-v3 |
|
| Input | waifu2x | Real-CUGAN | RealESRGAN<br>AnimeVideo-v3 |
|
||||||
| :---: | :---: | :---: | :---: |
|
| :---: | :---: | :---: | :---: |
|
||||||
| |  |  |  |
|
| |  |  |  |
|
||||||
| |  |  |  |
|
|
||||||
| |  |  |  |
|
| |  |  |  |
|
||||||
| |  |  |  |
|
|
||||||
| |  |  |  |
|
|
||||||
| |  |  |  |
|
|
||||||
| |  |  |  |
|
| |  |  |  |
|
||||||
|
| |  |  |  |
|
||||||
|
|
||||||
|
**Other better results**
|
||||||
|
| Input | waifu2x | Real-CUGAN | RealESRGAN<br>AnimeVideo-v3 |
|
||||||
|
| :---: | :---: | :---: | :---: |
|
||||||
| |  |  |  |
|
| |  |  |  |
|
||||||
| |  |  |  |
|
|
||||||
| |  |  |  |
|
|
||||||
| |  |  |  |
|
| |  |  |  |
|
||||||
|  |   |   |   |
|
|  |   |   |   |
|
||||||
|
| |  |  |  |
|
||||||
|
| |  |  |  |
|
||||||
|
|
||||||
|
## Inference Speed
|
||||||
|
|
||||||
|
### PyTorch
|
||||||
|
|
||||||
|
Note that we only report the **model** time, and ignore the IO time.
|
||||||
|
|
||||||
## Speed
|
|
||||||
### pytorch
|
|
||||||
Note that we only report the **model** speed, and IO time is not considered.
|
|
||||||
|
|
||||||
| GPU | Input Resolution | waifu2x | Real-CUGAN | RealESRGAN-AnimeVideo-v3
|
| GPU | Input Resolution | waifu2x | Real-CUGAN | RealESRGAN-AnimeVideo-v3
|
||||||
| :---: | :---: | :---: | :---: | :---: |
|
| :---: | :---: | :---: | :---: | :---: |
|
||||||
| V100 | 1921x1080 | - | 3.4 fps | **10.0** fps |
|
| V100 | 1921 x 1080 | - | 3.4 fps | **10.0** fps |
|
||||||
| V100 | 1280x720 | - | 7.2 fps | **22.6** fps |
|
| V100 | 1280 x 720 | - | 7.2 fps | **22.6** fps |
|
||||||
| V100 | 640x480 | - | 24.4 fps | **65.9** fps |
|
| V100 | 640 x 480 | - | 24.4 fps | **65.9** fps |
|
||||||
|
|
||||||
### ncnn
|
### ncnn
|
||||||
- [ ] update ncnn library of [Real-ESRGAN-ncnn-vulkan](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan) for a fair comparison.
|
|
||||||
|
- [ ] TODO
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# Anime Video Models
|
# Anime Video Models
|
||||||
|
|
||||||
:white_check_mark: We add small models that are optimized for anime videos :-)
|
:white_check_mark: We add small models that are optimized for anime videos :-)<br>
|
||||||
|
More comparisons can be found in [anime_comparisons.md](docs/anime_comparisons.md)
|
||||||
|
|
||||||
- [How to Use](#how-to-use)
|
- [How to Use](#how-to-use)
|
||||||
- [PyTorch Inference](#pytorch-inference)
|
- [PyTorch Inference](#pytorch-inference)
|
||||||
|
|||||||
Reference in New Issue
Block a user