Skip to content

Commit

Permalink
Fix readme error of information extraction (#1147)
Browse files Browse the repository at this point in the history
  • Loading branch information
joey12300 authored Oct 11, 2021
1 parent b259ea3 commit 7c460f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/information_extraction/waybill_ie/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ python run_ernie.py
##### 模型导出
使用动态图训练结束之后,还可以将动态图参数导出成静态图参数,具体代码见export_model.py。静态图参数保存在output_path指定路径中。 运行方式:

`python export_model.py --params_path ernie_ckpt/model_80.pdparams --output_path=./output`
`python export_model.py --params_path ernie_ckpt/model_80/model_state.pdparams --output_path=./output`

其中`params_path`是指动态图训练保存的参数路径,`output_path`是指静态图参数导出路径。

Expand Down

0 comments on commit 7c460f6

Please sign in to comment.