vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.9k stars 1.11k forks source link

No such file Moon.png #152

Open wux12 opened 2 years ago

wux12 commented 2 years ago

Everyone, I have an error when I use the sample diagram to test the program. The error code is as follows. I tried various methods but I can't find the cause of the problem. Does anyone know how to solve it? FileNotFoundError: No such file: '/home/w/3d-photo-inpainting/BoostingMonocularDepth/outputs/Moon.png'

1271930827 commented 2 years ago

try this https://colab.research.google.com/drive/1706ToQrkIZshRSJSHvZ1RuCiM__YX3Bz?pli=1#scrollTo=i5-MWEjfBjYx by others system

ml1994 commented 2 years ago

原因:安装的Pytorch时cpu版本的,不是gpu版本的。 去项目里找到这个文件BoostingMonocularDepth/pix2pix/options/base_options.py,搜索--gpu_ids,将其default改为-1即可; 也可在命令后面加上 --gpu_ids -1