minivision-ai / photo2cartoon

人像卡通化探索项目 (photo-to-cartoon translation project)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python3.8安装依赖

anuin-cat opened this issue · comments

仅仅运行test.py的话只安装这一个就可以了

网上找了很多地方,终于找到了python3.8的dlib,放在这里供大家参阅(博主真的好人一个)
https://blog.csdn.net/landing_guy_/article/details/115228797

最后一个onnxruntime的安装需要使用镜像以及pip来安装

pip install onnxruntime
pip install onnxruntime-gpu

pip install -i http://pypi.douban.com/simple --trusted-host pypi.douban.com 模块名字

上边两个模块名塞到下边运行就可以安装了

有时候会报错可能是版本不兼容,最好安装这个
onnxruntime==1.2.0