Skip to content

Commit

Permalink
[Docs] Move examples to a new directory (#911)
Browse files Browse the repository at this point in the history
* [Docs] Move examples to a new directory

* fix typo
  • Loading branch information
zhouzaida committed Feb 7, 2023
1 parent e35ed5f commit 4749682
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 16 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,21 @@ runner.train()
</details>

<details>
<summary>Common Usage</summary>
<summary>Examples</summary>

- [Resume Training](https://mmengine.readthedocs.io/en/latest/examples/resume_training.html)
- [Speed up Training](https://mmengine.readthedocs.io/en/latest/examples/speed_up_training.html)
- [Save Memory on GPU](https://mmengine.readthedocs.io/en/latest/examples/save_gpu_memory.html)
- [Train a GAN](https://mmengine.readthedocs.io/en/latest/examples/train_a_gan.html)

</details>

<details>
<summary>Common Usage</summary>

- [Resume Training](https://mmengine.readthedocs.io/en/latest/common_usage/resume_training.html)
- [Speed up Training](https://mmengine.readthedocs.io/en/latest/common_usage/speed_up_training.html)
- [Save Memory on GPU](https://mmengine.readthedocs.io/en/latest/common_usage/save_gpu_memory.html)

</details>

<details>
<summary>Design</summary>

Expand Down
14 changes: 10 additions & 4 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,21 @@ runner.train()
</details>

<details>
<summary>常用功能</summary>
<summary>示例</summary>

- [恢复训练](https://mmengine.readthedocs.io/zh_CN/latest/examples/resume_training.html)
- [加速训练](https://mmengine.readthedocs.io/zh_CN/latest/examples/speed_up_training.html)
- [节省显存](https://mmengine.readthedocs.io/zh_CN/latest/examples/save_gpu_memory.html)
- [训练生成对抗网络](https://mmengine.readthedocs.io/zh_CN/latest/examples/train_a_gan.html)

</details>

<details>
<summary>常用功能</summary>

- [恢复训练](https://mmengine.readthedocs.io/zh_CN/latest/common_usage/resume_training.html)
- [加速训练](https://mmengine.readthedocs.io/zh_CN/latest/common_usage/speed_up_training.html)
- [节省显存](https://mmengine.readthedocs.io/zh_CN/latest/common_usage/save_gpu_memory.html)

</details>

<details>
<summary>架构设计</summary>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 9 additions & 4 deletions docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ You can switch between Chinese and English documents in the lower-left corner of

.. toctree::
:maxdepth: 1
:caption: Common Usage
:caption: Examples

examples/resume_training.md
examples/speed_up_training.md
examples/save_gpu_memory.md
examples/train_a_gan.md

.. toctree::
:maxdepth: 1
:caption: Common Usage

common_usage/resume_training.md
common_usage/speed_up_training.md
common_usage/save_gpu_memory.md

.. toctree::
:maxdepth: 3
:caption: Tutorials
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 9 additions & 4 deletions docs/zh_cn/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@

.. toctree::
:maxdepth: 1
:caption: 常用功能
:caption: 示例

examples/resume_training.md
examples/speed_up_training.md
examples/save_gpu_memory.md
examples/train_a_gan.md

.. toctree::
:maxdepth: 1
:caption: 常用功能

common_usage/resume_training.md
common_usage/speed_up_training.md
common_usage/save_gpu_memory.md

.. toctree::
:maxdepth: 3
:caption: 入门教程
Expand Down

0 comments on commit 4749682

Please sign in to comment.