Skip to content

Commit e5fbd41

Browse files
committed
fix Dead chain
1 parent 149c7f1 commit e5fbd41

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/visualization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ visualdl --logdir <dir_1, dir_2, ... , dir_n> --model <model_file> --host <host>
2323
| 参数 | 意义 |
2424
| --------------- | ------------------------------------------------------------ |
2525
| --logdir | 设定日志所在目录,可以指定多个目录,VisualDL将遍历并且迭代寻找指定目录的子目录,将所有实验结果进行可视化 |
26-
| --model | 设定模型文件路径(非文件夹路径),VisualDL将在此路径指定的模型文件进行可视化,目前可支持PaddlePaddle、ONNX、Keras、Core ML、Caffe等多种模型结构,详情可查看[graph支持模型种类](./docs/components/README.md#%E5%8A%9F%E8%83%BD%E6%93%8D%E4%BD%9C%E8%AF%B4%E6%98%8E-2) |
26+
| --model | 设定模型文件路径(非文件夹路径),VisualDL将在此路径指定的模型文件进行可视化,目前可支持PaddlePaddle、ONNX、Keras、Core ML、Caffe等多种模型结构,详情可查看[graph支持模型种类](https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/README_CN.md#%E5%8A%9F%E8%83%BD%E6%93%8D%E4%BD%9C%E8%AF%B4%E6%98%8E-4) |
2727
| --host | 设定IP,默认为`127.0.0.1`,若想使得本机以外的机器访问启动的VisualDL面板,需指定此项为`0.0.0.0`或自己的公网IP地址 |
2828
| --port | 设定端口,默认为`8040` |
2929
| --cache-timeout | 后端缓存时间,在缓存时间内前端多次请求同一url,返回的数据从缓存中获取,默认为20秒 |
@@ -52,7 +52,7 @@ visualdl.server.app.run(logdir,
5252
| 参数 | 格式 | 含义 |
5353
| ------------- | ------------------------------------------------ | ------------------------------------------------------------ |
5454
| logdir | string或list[string_1, string_2, ... , string_n] | 日志文件所在的路径,VisualDL将在此路径下递归搜索日志文件并进行可视化,可指定单个或多个路径,每个路径中及其子目录中的日志都将视为独立日志展现在前端面板上 |
55-
| model | string | 模型文件路径(非文件夹路径),VisualDL将在此路径指定的模型文件进行可视化,目前可支持PaddlePaddle、ONNX、Keras、Core ML、Caffe等多种模型结构,详情可查看[graph支持模型种类](./docs/components/README.md#%E5%8A%9F%E8%83%BD%E6%93%8D%E4%BD%9C%E8%AF%B4%E6%98%8E-2) |
55+
| model | string | 模型文件路径(非文件夹路径),VisualDL将在此路径指定的模型文件进行可视化,目前可支持PaddlePaddle、ONNX、Keras、Core ML、Caffe等多种模型结构,详情可查看[graph支持模型种类](https://github.com/PaddlePaddle/VisualDL/blob/develop/docs/components/README_CN.md#%E5%8A%9F%E8%83%BD%E6%93%8D%E4%BD%9C%E8%AF%B4%E6%98%8E-4) |
5656
| host | string | 设定IP,默认为`127.0.0.1`,若想使得本机以外的机器访问启动的VisualDL面板,需指定此项为`0.0.0.0`或自己的公网IP地址 |
5757
| port | int | 启动服务端口,默认为`8040` |
5858
| cache_timeout | int | 后端缓存时间,在缓存时间内前端多次请求同一url,返回的数据从缓存中获取,默认为20秒 |

models/recall/mind/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ PaddlePaddle>=2.0
7070

7171
python 2.7/3.5/3.6/3.7
7272

73-
os : windows/linux/macos
73+
os : linux/macos
7474

7575
## 快速开始
7676

recserving/movie_recommender/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ score_pairs {
270270
python3 -u ../../../tools/static_trainer.py -m recall/movie.yaml
271271
python3 -u ../../../tools/static_trainer.py -m recall/user.yaml
272272
```
273-
训练好的user/movie模型首先需要参照[Paddle保存的预测模型转为Paddle Serving格式可部署的模型](https://github.com/PaddlePaddle/Serving/blob/develop/doc/INFERENCE_TO_SERVING_CN.md)
273+
训练好的user/movie模型首先需要参照[Paddle保存的预测模型转为Paddle Serving格式可部署的模型](https://github.com/PaddlePaddle/Serving/blob/develop/doc/SAVE_CN.md)
274274

275275
2. 获得用于milvus建库的电影向量文件
276276
`movie.yaml`训练所保存的模型可以用于生成全库的电影向量。需要将数据 movie.dat 复制一份到 get_movie_vector.py 同一目录下,在运行的时候需要直接读取数据集。此外 serving_service 也需要和 get_movie_vector.py 放在同一级目录。运行

0 commit comments

Comments
 (0)