提交 d9bbf45f 编写于 作者: weixin_46524038's avatar weixin_46524038 提交者: cuicheng01

modify docs

上级 a170400d
......@@ -55,9 +55,16 @@ python3 -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
请确保已clone本项目,本地构建安装:
```
```
若之前安装有paddleclas,先使用以下命令卸载,然后重新安装
python3 -m pip uninstall paddleclas
python3 -m pip install paddleclas
```
使用下面的命令构建:
```
cd path/to/PaddleClas
#使用下面的命令构建
python3 setup.py install
```
......@@ -123,9 +130,9 @@ cd ../
```shell
# 使用下面的命令使用 GPU 进行预测
python3.7 python/predict_cls.py -c ./configs/practical_models/aesthetic_score_predictor/inference_aesthetic_score_predictor.yaml
python3 python/predict_cls.py -c ./configs/practical_models/aesthetic_score_predictor/inference_aesthetic_score_predictor.yaml
# 使用下面的命令使用 CPU 进行预测
python3.7 python/predict_cls.py -c ./configs/practical_models/aesthetic_score_predictor/inference_aesthetic_score_predictor.yaml -o Global.use_gpu=False
python3 python/predict_cls.py -c ./configs/practical_models/aesthetic_score_predictor/inference_aesthetic_score_predictor.yaml -o Global.use_gpu=False
```
输出结果如下。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册