Browse Source

reorganize docs

Xintao 3 years ago
parent
commit
827fae3bdc
7 changed files with 15 additions and 14 deletions
  1. 6 6
      README.md
  2. 6 6
      README_CN.md
  3. 1 0
      docs/CONTRIBUTING.md
  4. 0 0
      docs/FAQ.md
  5. 1 1
      docs/Training.md
  6. 1 1
      docs/Training_CN.md
  7. 0 0
      docs/feedback.md

+ 6 - 6
README.md

@@ -20,11 +20,11 @@
 Real-ESRGAN aims at developing **Practical Algorithms for General Image/Video Restoration**.<br>
 We extend the powerful ESRGAN to a practical restoration application (namely, Real-ESRGAN), which is trained with pure synthetic data.
 
-:art: Real-ESRGAN needs your contributions. Any contributions are welcome, such as new features/models/typo fixes/suggestions/maintenance, *etc*. See [CONTRIBUTING.md](CONTRIBUTING.md). All contributors are list [here](README.md#hugs-acknowledgement).
+:art: Real-ESRGAN needs your contributions. Any contributions are welcome, such as new features/models/typo fixes/suggestions/maintenance, *etc*. See [CONTRIBUTING.md](docs/CONTRIBUTING.md). All contributors are list [here](README.md#hugs-acknowledgement).
 
-:question: Frequently Asked Questions can be found in [FAQ.md](FAQ.md).
+:question: Frequently Asked Questions can be found in [FAQ.md](docs/FAQ.md).
 
-:milky_way: Thanks for your valuable feedbacks/suggestions. All the feedbacks are updated in [feedback.md](feedback.md).
+:milky_way: Thanks for your valuable feedbacks/suggestions. All the feedbacks are updated in [feedback.md](docs/feedback.md).
 
 ---
 
@@ -45,12 +45,12 @@ Other recommended projects:<br>
 - ✅ 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 [*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)
-- ✅ Support finetuning on your own data or paired data (*i.e.*, finetuning ESRGAN). See [here](Training.md#Finetune-Real-ESRGAN-on-your-own-dataset)
+- ✅ Support finetuning on your own data or paired data (*i.e.*, finetuning ESRGAN). See [here](docs/Training.md#Finetune-Real-ESRGAN-on-your-own-dataset)
 - ✅ Integrate [GFPGAN](https://github.com/TencentARC/GFPGAN) to support **face enhancement**.
 - ✅ Integrated to [Huggingface Spaces](https://huggingface.co/spaces) with [Gradio](https://github.com/gradio-app/gradio). See [Gradio Web Demo](https://huggingface.co/spaces/akhaliq/Real-ESRGAN). Thanks [@AK391](https://github.com/AK391)
 - ✅ Support arbitrary scale with `--outscale` (It actually further resizes outputs with `LANCZOS4`). Add *RealESRGAN_x2plus.pth* model.
 - ✅ [The inference code](inference_realesrgan.py) supports: 1) **tile** options; 2) images with **alpha channel**; 3) **gray** images; 4) **16-bit** images.
-- ✅ The training codes have been released. A detailed guide can be found in [Training.md](Training.md).
+- ✅ The training codes have been released. A detailed guide can be found in [Training.md](docs/Training.md).
 
 </details>
 
@@ -253,7 +253,7 @@ Please see [docs/model_zoo.md](docs/model_zoo.md)
 
 ## :computer: Training and Finetuning on your own dataset
 
-A detailed guide can be found in [Training.md](Training.md).
+A detailed guide can be found in [Training.md](docs/Training.md).
 
 ## BibTeX
 

+ 6 - 6
README_CN.md

@@ -20,11 +20,11 @@
 Real-ESRGAN 的目标是开发出**实用的图像/视频修复算法**。<br>
 我们在 ESRGAN 的基础上使用纯合成的数据来进行训练,以使其能被应用于实际的图片修复的场景(顾名思义:Real-ESRGAN)。
 
-:art: Real-ESRGAN 需要,也很欢迎你的贡献,如新功能、模型、bug修复、建议、维护等等。详情可以查看[CONTRIBUTING.md](CONTRIBUTING.md),所有的贡献者都会被列在[此处](README_CN.md#hugs-感谢)。
+:art: Real-ESRGAN 需要,也很欢迎你的贡献,如新功能、模型、bug修复、建议、维护等等。详情可以查看[CONTRIBUTING.md](docs/CONTRIBUTING.md),所有的贡献者都会被列在[此处](README_CN.md#hugs-感谢)。
 
-:milky_way: 感谢大家提供了很好的反馈。这些反馈会逐步更新在 [这个文档](feedback.md)。
+:milky_way: 感谢大家提供了很好的反馈。这些反馈会逐步更新在 [这个文档](docs/feedback.md)。
 
-:question: 常见的问题可以在[FAQ.md](FAQ.md)中找到答案。(好吧,现在还是空白的=-=||)
+:question: 常见的问题可以在[FAQ.md](docs/FAQ.md)中找到答案。(好吧,现在还是空白的=-=||)
 
 ---
 
@@ -45,12 +45,12 @@ Real-ESRGAN 的目标是开发出**实用的图像/视频修复算法**。<br>
 - ✅ 添加了针对动漫视频的小模型, 更多信息在 [anime video models](docs/anime_video_model.md) 中.
 - ✅ 添加了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)
-- ✅支持用户在自己的数据上进行微调 (finetune):[详情](Training.md#Finetune-Real-ESRGAN-on-your-own-dataset)
+- ✅支持用户在自己的数据上进行微调 (finetune):[详情](docs/Training.md#Finetune-Real-ESRGAN-on-your-own-dataset)
 - ✅ 支持使用[GFPGAN](https://github.com/TencentARC/GFPGAN)**增强人脸**
 - ✅ 通过[Gradio](https://github.com/gradio-app/gradio)添加到了[Huggingface Spaces](https://huggingface.co/spaces)(一个机器学习应用的在线平台):[Gradio在线版](https://huggingface.co/spaces/akhaliq/Real-ESRGAN)。感谢[@AK391](https://github.com/AK391)
 - ✅ 支持任意比例的缩放:`--outscale`(实际上使用`LANCZOS4`来更进一步调整输出图像的尺寸)。添加了*RealESRGAN_x2plus.pth*模型
 - ✅ [推断脚本](inference_realesrgan.py)支持: 1) 分块处理**tile**; 2) 带**alpha通道**的图像; 3) **灰色**图像; 4) **16-bit**图像.
-- ✅ 训练代码已经发布,具体做法可查看:[Training.md](Training.md)。
+- ✅ 训练代码已经发布,具体做法可查看:[Training.md](docs/Training.md)。
 
 </details>
 
@@ -250,7 +250,7 @@ A common command: python inference_realesrgan.py -n RealESRGAN_x4plus -i infile
 
 ## :computer: 训练,在你的数据上微调(Fine-tune)
 
-这里有一份详细的指南:[Training.md](Training.md).
+这里有一份详细的指南:[Training.md](docs/Training.md).
 
 ## BibTeX 引用
 

+ 1 - 0
CONTRIBUTING.md → docs/CONTRIBUTING.md

@@ -19,6 +19,7 @@ We like open-source and want to develop practical algorithms for general image r
 1. Create a PR
 
 **Note**:
+
 1. Please check the code style and linting
     1. The style configuration is specified in [setup.cfg](setup.cfg)
     1. If you use VSCode, the settings are configured in [.vscode/settings.json](.vscode/settings.json)

+ 0 - 0
FAQ.md → docs/FAQ.md


+ 1 - 1
Training.md → docs/Training.md

@@ -10,7 +10,7 @@
   - [Use paired training data](#use-your-own-paired-data)
 
 [English](Training.md) **|** [简体中文](Training_CN.md)
- 
+
 ## Train Real-ESRGAN
 
 ### Overview

+ 1 - 1
Training_CN.md → docs/Training_CN.md

@@ -268,4 +268,4 @@ python -m torch.distributed.launch --nproc_per_node=4 --master_port=4321 realesr
 用 **1个GPU** 训练:
 ```bash
 python realesrgan/train.py -opt options/finetune_realesrgan_x4plus_pairdata.yml --auto_resume
-```
+```

+ 0 - 0
feedback.md → docs/feedback.md