Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file Moon.png #152

Open
wux12 opened this issue Mar 11, 2022 · 2 comments
Open

No such file Moon.png #152

wux12 opened this issue Mar 11, 2022 · 2 comments

Comments

@wux12
Copy link

wux12 commented Mar 11, 2022

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
Copy link

@ml1994
Copy link

ml1994 commented Jun 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants