pytorch-PCN icon indicating copy to clipboard operation
pytorch-PCN copied to clipboard

怎么测试照片啊,小白求教

Open JAYM629 opened this issue 5 years ago • 2 comments

JAYM629 avatar Oct 23 '19 03:10 JAYM629

先安装好依赖

pip3 install numpy opencv-python
pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl
pip3 install torchvision

再克隆仓库:

git clone https://github.com/siriusdemon/pytorch-PCN.git

完成之后进入文件夹里

cd pytorch-PCN

然后执行代码

python demo.py imgs/1.jpg

加油!

siriusdemon avatar Oct 23 '19 09:10 siriusdemon

好的,非常感谢🙏

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: Sirius Demon <[email protected]> 发送时间: 2019年10月23日 17:03 收件人: siriusdemon/pytorch-PCN <[email protected]> 抄送: JAYM629 <[email protected]>, Author <[email protected]> 主题: 回复:[siriusdemon/pytorch-PCN] 怎么测试照片啊,小白求教 (#10)

先安装好依赖 pip3 install numpy opencv-python pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl pip3 install torchvision

再克隆仓库: git clone https://github.com/siriusdemon/pytorch-PCN.git

完成之后进入文件夹里 cd pytorch-PCN

然后执行代码 python demo.py imgs/1.jpg

加油!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

JAYM629 avatar Oct 26 '19 05:10 JAYM629