提交 94faae6c 编写于 作者: littletomatodonkey's avatar littletomatodonkey

fix export

上级 8293b6b0
......@@ -5,9 +5,7 @@ from __future__ import print_function
import os
import sys
__dir__ = os.path.dirname(os.path.abspath(__file__))
sys.path.append(__dir__)
sys.path.append(os.path.abspath(os.path.join(__dir__, '../../../')))
sys.path.insert(0, ".")
import argparse
import ast
......
......@@ -5,9 +5,7 @@ from __future__ import print_function
import os
import sys
__dir__ = os.path.dirname(os.path.abspath(__file__))
sys.path.append(__dir__)
sys.path.append(os.path.abspath(os.path.join(__dir__, '../../../')))
sys.path.insert(0, ".")
import argparse
import ast
......
......@@ -5,10 +5,7 @@ from __future__ import print_function
import os
import sys
__dir__ = os.path.dirname(os.path.abspath(__file__))
sys.path.append(__dir__)
sys.path.append(os.path.abspath(os.path.join(__dir__, '../../../')))
sys.path.insert(0, ".")
import argparse
import ast
......
......@@ -29,12 +29,6 @@ deploy/hubserving/ocr_system/
```shell
# 安装paddlehub
pip3 install paddlehub --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple
# 在Linux下设置环境变量
export PYTHONPATH=.
# 或者,在Windows下设置环境变量
SET PYTHONPATH=.
```
### 2. 下载推理模型
......
......@@ -30,12 +30,6 @@ The following steps take the 2-stage series service as an example. If only the d
```shell
# Install paddlehub
pip3 install paddlehub --upgrade -i https://pypi.tuna.tsinghua.edu.cn/simple
# Set environment variables on Linux
export PYTHONPATH=.
# Set environment variables on Windows
SET PYTHONPATH=.
```
### 2. Download inference model
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册