未验证 提交 a5be1404 编写于 作者: J Jiawei Wang 提交者: GitHub

Update prepare_model.py

上级 3a76bf29
......@@ -16,7 +16,9 @@ import paddlehub as hub
import paddle.fluid as fluid
import sys
import paddle_serving_client.io as serving_io
import paddle
paddle.enable_static()
model_name = "bert_chinese_L-12_H-768_A-12"
module = hub.Module(model_name)
inputs, outputs, program = module.context(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册