-
Notifications
You must be signed in to change notification settings - Fork 60
Fix docs links #477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docs links #477
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
@@ -29,7 +29,7 @@ | |||
|
|||
### 1.1 通过OpenMPI运行脚本进行训练 | |||
|
|||
在 Ascend 硬件平台上,用户可以使用 `OpenMPI` 的 `mpirun` 命令来运行 `n` 个设备的分布式训练。例如,在 [DBNet Readme](../../../configs/det/dbnet/README.md#34-training) 中,使用以下命令在设备 `0` 和设备 `1` 上训练模型: | |||
在 Ascend 硬件平台上,用户可以使用 `OpenMPI` 的 `mpirun` 命令来运行 `n` 个设备的分布式训练。例如,在 [DBNet Readme](../../mkdocs/dbnet_readme.md) 中,使用以下命令在设备 `0` 和设备 `1` 上训练模型: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep the doc available on both github repo and mkdocs online doc. So I prefer to change this link to absolute path (although jump out of mkdocs) instead of mkdocs path (invalid in github repo page).
@@ -42,7 +42,7 @@ | |||
|
|||
## 3. 模型定义参数 (model) | |||
|
|||
在MindOCR中,模型的网络架构划分为 Transform, Backbone, Neck和Head四个模块。详细请参阅[文档](../../../mindocr/models/README.md),以下是各部分的配置说明与例子。 | |||
在MindOCR中,模型的网络架构划分为 Transform, Backbone, Neck和Head四个模块。详细请参阅[文档](../../mkdocs/customize_model),以下是各部分的配置说明与例子。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep the doc available on both github repo and mkdocs online doc. So I prefer to change this link to absolute path (although jump out of mkdocs) instead of mkdocs path (invalid in github repo page).
@@ -29,7 +29,7 @@ On Ascend platform, some common restrictions on using the distributed service ar | |||
|
|||
### 1.1 Run scripts with OpenMPI | |||
|
|||
On Ascend hardware platform, users can use OpenMPI's `mpirun` to run distributed training with `n` devices. For example, in [DBNet Readme](../../../configs/det/dbnet/README.md#34-training), the following command is used to train the model on devices `0` and `1`: | |||
On Ascend hardware platform, users can use OpenMPI's `mpirun` to run distributed training with `n` devices. For example, in [DBNet Readme](../../mkdocs/dbnet_readme.md), the following command is used to train the model on devices `0` and `1`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep the doc available on both github repo and mkdocs online doc. So I prefer to change this link to absolute path (although jump out of mkdocs) instead of mkdocs path (invalid in github repo page).
@@ -39,7 +39,7 @@ Because the same parameter may need to be reused in different configuration sect | |||
|
|||
## 3. Model architecture (model) | |||
|
|||
In MindOCR, the network architecture of the model is divided into four modules: Transform, Backbone, Neck and Head. For details, please refer to [documentation](../../../mindocr/models/README.md), the following are the configuration instructions and examples of each module. | |||
In MindOCR, the network architecture of the model is divided into four modules: Transform, Backbone, Neck and Head. For details, please refer to [documentation](../../mkdocs/customize_model), the following are the configuration instructions and examples of each module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to keep the doc available on both github repo and mkdocs online doc. So I prefer to change this link to absolute path (although jump out of mkdocs) instead of mkdocs path (invalid in github repo page).
docs/cn/mkdocs/dbnet_readme.md
Outdated
@@ -0,0 +1 @@ | |||
{% include-markdown "../../../configs/det/dbnet/README_CN.md#34-training" %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If use absolute path, then delete this file.
docs/en/mkdocs/dbnet_readme.md
Outdated
@@ -0,0 +1 @@ | |||
{% include-markdown "../../../configs/det/dbnet/README.md#34-training" %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If use absolute path, then delete this file.
docs/en/datasets/borndigital.md
Outdated
@@ -5,7 +5,7 @@ | |||
Note: You need to register an account to download this dataset. | |||
|
|||
<details open markdown> | |||
<summary>How to Download Born-Digital Images and Annotations</summary> | |||
<summary>How to Download Born-Digital Images and Annotations</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The <details open markdown> <summary> ... </summary>
looks redundant, can remove this in all datasets .md. It;s clear enough to leave the download link and some words to explain it.
The same for Chinese datasets .md.
docs/en/datasets/totaltext.md
Outdated
@@ -7,7 +7,7 @@ Total-Text [paper](https://arxiv.org/abs/1710.10400) | |||
Download Total-Text Images from [source](https://github.com/cs-chan/Total-Text-Dataset/tree/master/Dataset) (size = 441Mb). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Download Total-Text Images from [source](https://github.com/cs-chan/Total-Text-Dataset/tree/master/Dataset) (size = 441Mb). | |
[Dataset github repo](https://github.com/cs-chan/Total-Text-Dataset/tree/master/Dataset) |
Co-authored-by: HaoyangLI <417493727@qq.com>
Co-authored-by: HaoyangLI <417493727@qq.com>
Thank you for your contribution to the MindOCR repo.
Before submitting this PR, please make sure:
Motivation
(Write your motivation for proposed changes here.)
Test Plan
(How should this PR be tested? Do you require special setup to run the test or repro the fixed bug?)
Related Issues and PRs
(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)