未验证 提交 29a91f30 编写于 作者: G Guanghua Yu 提交者: GitHub

fix python path in export_serving_model.py (#1294)

上级 b9875f21
......@@ -16,7 +16,11 @@ from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import os, sys
# add python path of PadleDetection to sys.path
parent_path = os.path.abspath(os.path.join(__file__, *(['..'] * 2)))
if parent_path not in sys.path:
sys.path.append(parent_path)
from paddle import fluid
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册