Skip to content

Commit 466ed64

Browse files
author
q.yao
authored
update links (#9)
* update links * remove link
1 parent 454d7fd commit 466ed64

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

docs/en/tutorials/how_to_test_rewritten_models.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,5 @@ def test_basesegmentor_forward():
122122
We provide some utilities to test rewritten functions. At first, you can construct a model and call `get_model_outputs` to get outputs of the original model. Then you can wrap the rewritten function with `WrapModel`, which serves as a partial function, and get the results with `get_rewrite_outputs`. `get_rewrite_outputs` returns two values that indicate the content of outputs and whether the outputs come from the backend. Because we cannot assume that everyone has installed the backend, we should check if the results are generated by a Python or backend engine. The unit test must cover both conditions. Finally, we should compare the original and rewritten outputs, which may be done simply by calling `torch.allclose`.
123123

124124
## Note
125-
TODO: Add a link to api document after we have a website.
126125

127-
To learn the complete usage of the test utilities, please refer to our [api document](unit_test_api_link).
126+
To learn the complete usage of the test utilities, please refer to our apis document.

docs/zh_cn/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- 下载代码仓库 MMDeploy
66

77
```bash
8-
git clone -b master git@github.com:grimoire/deploy_prototype.git MMDeploy
8+
git clone -b master git@github.com:open-mmlab/mmdeploy.git MMDeploy
99
cd MMDeploy
1010
export MMDEPLOY_DIR=$(pwd)
1111
git submodule update --init --recursive
@@ -154,7 +154,7 @@ pip install -e .
154154
当前,SDK支持以下设备,
155155

156156
| 设备 | 名称 | 查找路径 |
157-
|:-----|:-----|:-----------------------------------|
157+
| :--- | :--- | :--------------------------------- |
158158
| Host | cpu | N/A |
159159
| CUDA | cuda | CUDA_TOOLKIT_ROOT_DIR 和 pplcv_DIR |
160160

@@ -169,7 +169,7 @@ pip install -e .
169169
下表展示了目前SDK支持的后端,以及构建时,每个后端需要设置的变量。
170170

171171
| 推理引擎 | 名称 | 查找路径 |
172-
|:------------|:---------|:-------------------------|
172+
| :---------- | :------- | :----------------------- |
173173
| PPL.nn | pplnn | pplnn_DIR |
174174
| ncnn | ncnn | ncnn_DIR |
175175
| ONNXRuntime | ort | ONNXRUNTIME_DIR |

docs/zh_cn/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@
102102
# documentation.
103103
#
104104
html_theme_options = {
105-
# TODO: Add log_url
106-
# 'logo_url': 'https://mmocr.readthedocs.io/en/latest/',
105+
'logo_url':
106+
'https://mmdeploy.readthedocs.io/en/latest/',
107107
'menu': [
108108
{
109109
'name': 'GitHub',
110-
'url': 'https://github.com/grimoire/deploy_prototype'
110+
'url': 'https://github.com/open-mmlab/mmdeploy'
111111
},
112112
{
113113
'name':

0 commit comments

Comments
 (0)