3d-photo-inpainting icon indicating copy to clipboard operation
3d-photo-inpainting copied to clipboard

No such file Moon.png

Open wux12 opened this issue 2 years ago • 2 comments

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'

wux12 avatar Mar 11 '22 03:03 wux12

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

1271930827 avatar Mar 20 '22 15:03 1271930827

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

ml1994 avatar Jun 08 '22 08:06 ml1994