下载预训练模型时,发生错误 No module named 'ppcls'
Created by: zhaotun
基本环境:centos7 cuda10.1 cudnn7.6.5 python3.6.10 paddle1.8.3 按照 30分钟玩转PaddleClas 这里第二部分,下载预训练模型时执行以下命令
$ ls
configs dataset docs LICENSE ppcls README_en.md README.md requirements.txt tools
$ export PYTHONPATH=./:$PYTHONPATH
$ sudo python tools/download.py -a MobileNetV3_large_x1_0 -p ./pretrained -d True
Traceback (most recent call last):
File "tools/download.py", line 17, in <module>
from ppcls import model_zoo
ModuleNotFoundError: No module named 'ppcls'
发生 No module named 'ppcls' 错误,请问如何解决,谢谢!