提交 06f207bf 编写于 作者: H HtdrogenSulfate

change bash to source

上级 8284b6bd
...@@ -179,7 +179,7 @@ Different from Python Serving, the C++ Serving client calls C++ OP to predict, s ...@@ -179,7 +179,7 @@ Different from Python Serving, the C++ Serving client calls C++ OP to predict, s
# Enter the working directory # Enter the working directory
cd PaddleClas/deploy/paddleserving cd PaddleClas/deploy/paddleserving
# One-click compile and install Serving server, set SERVING_BIN # One-click compile and install Serving server, set SERVING_BIN
bash ./build_server.sh python3.7 source ./build_server.sh python3.7
``` ```
**Note: The path set by **[build_server.sh](./build_server.sh#L55-L62) may need to be modified according to the actual machine environment such as CUDA, python version, etc., and then compiled. **Note: The path set by **[build_server.sh](./build_server.sh#L55-L62) may need to be modified according to the actual machine environment such as CUDA, python version, etc., and then compiled.
......
...@@ -216,7 +216,7 @@ python3.7 -m pip install paddle-serving-server-gpu==0.7.0.post112 # GPU with CUD ...@@ -216,7 +216,7 @@ python3.7 -m pip install paddle-serving-server-gpu==0.7.0.post112 # GPU with CUD
# 进入工作目录 # 进入工作目录
cd PaddleClas/deploy/paddleserving cd PaddleClas/deploy/paddleserving
# 一键编译安装Serving server、设置 SERVING_BIN # 一键编译安装Serving server、设置 SERVING_BIN
bash ./build_server.sh python3.7 source ./build_server.sh python3.7
``` ```
**注:**[build_server.sh](../build_server.sh#L55-L62)所设定的路径可能需要根据实际机器上的环境如CUDA、python版本等作一定修改,然后再编译。 **注:**[build_server.sh](../build_server.sh#L55-L62)所设定的路径可能需要根据实际机器上的环境如CUDA、python版本等作一定修改,然后再编译。
......
...@@ -195,7 +195,7 @@ Different from Python Serving, the C++ Serving client calls C++ OP to predict, s ...@@ -195,7 +195,7 @@ Different from Python Serving, the C++ Serving client calls C++ OP to predict, s
# Enter the working directory # Enter the working directory
cd PaddleClas/deploy/paddleserving cd PaddleClas/deploy/paddleserving
# One-click compile and install Serving server, set SERVING_BIN # One-click compile and install Serving server, set SERVING_BIN
bash ./build_server.sh python3.7 source ./build_server.sh python3.7
``` ```
**Note: The path set by **[build_server.sh](../build_server.sh#L55-L62) may need to be modified according to the actual machine environment such as CUDA, python version, etc., and then compiled. **Note: The path set by **[build_server.sh](../build_server.sh#L55-L62) may need to be modified according to the actual machine environment such as CUDA, python version, etc., and then compiled.
......
...@@ -216,7 +216,7 @@ python3.7 -m pip install paddle-serving-server-gpu==0.7.0.post112 # GPU with CUD ...@@ -216,7 +216,7 @@ python3.7 -m pip install paddle-serving-server-gpu==0.7.0.post112 # GPU with CUD
# 进入工作目录 # 进入工作目录
cd PaddleClas/deploy/paddleserving cd PaddleClas/deploy/paddleserving
# 一键编译安装Serving server、设置 SERVING_BIN # 一键编译安装Serving server、设置 SERVING_BIN
bash ./build_server.sh python3.7 source ./build_server.sh python3.7
``` ```
**注:**[build_server.sh](../build_server.sh#L55-L62)所设定的路径可能需要根据实际机器上的环境如CUDA、python版本等作一定修改,然后再编译。 **注:**[build_server.sh](../build_server.sh#L55-L62)所设定的路径可能需要根据实际机器上的环境如CUDA、python版本等作一定修改,然后再编译。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册