3d-photo-inpainting
3d-photo-inpainting copied to clipboard
No such file Moon.png
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'
try this https://colab.research.google.com/drive/1706ToQrkIZshRSJSHvZ1RuCiM__YX3Bz?pli=1#scrollTo=i5-MWEjfBjYx by others system
原因:安装的Pytorch时cpu版本的,不是gpu版本的。
去项目里找到这个文件BoostingMonocularDepth/pix2pix/options/base_options.py
,搜索--gpu_ids
,将其default改为-1即可;
也可在命令后面加上 --gpu_ids -1