未验证 提交 53e66732 编写于 作者: T TeslaZhao 提交者: GitHub

Merge pull request #1218 from HexToString/newtest

Newtest
......@@ -36,7 +36,7 @@ class UciOp(Op):
_LOGGER.error("UciOp::preprocess >>> log_id:{}, input:{}".format(
log_id, input_dict))
proc_dict = {}
x_value = input_dict["x"]
x_value = eval(input_dict["x"])
input_dict["x"] = x_value.reshape(1, 13)
return input_dict, False, None, ""
......
......@@ -9,6 +9,11 @@ grpcio>=1.28.1
func-timeout>=4.3.5
pyyaml>=1.3.0
flask>=1.1.2
click==7.1.2
itsdangerous==1.1.0
Jinja2==2.11.3
MarkupSafe==1.1.1
Werkzeug==1.0.1
ujson>=2.0.3
sentencepiece==0.1.92; platform_machine != "aarch64"
sentencepiece; platform_machine == "aarch64"
......
......@@ -8,6 +8,11 @@ protobuf>=3.12.2
func-timeout>=4.3.5
pyyaml>=1.3.0
flask>=1.1.2
click==7.1.2
itsdangerous==1.1.0
Jinja2==2.11.3
MarkupSafe==1.1.1
Werkzeug==1.0.1
ujson>=2.0.3
grpcio-tools>=1.33.2
grpcio>=1.33.2
......
......@@ -33,7 +33,8 @@ util.gen_pipeline_code("paddle_serving_server")
REQUIRED_PACKAGES = [
'six >= 1.10.0', 'protobuf >= 3.11.0', 'grpcio <= 1.33.2', 'grpcio-tools <= 1.33.2',
'flask >= 1.1.1', 'func_timeout', 'pyyaml'
'flask >= 1.1.1', 'click==7.1.2', 'itsdangerous==1.1.0', 'Jinja2==2.11.3',
'MarkupSafe==1.1.1', 'Werkzeug==1.0.1', 'func_timeout', 'pyyaml'
]
packages=['paddle_serving_server',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册