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

FileNotFoundError: [Errno 2] No such file or directory: '/data/checkpoint/config.yaml' #91

Closed
dave0824 opened this issue Feb 16, 2022 · 3 comments

Comments

@dave0824
Copy link

Execute the command:bash docker/2_predict.sh /usr/local/docker/big-lama /usr/local/docker/LaMa_test_images /usr/local/docker/output device=cpu
There is an error:FileNotFoundError: [Errno 2] No such file or directory: '/data/checkpoint/config.yaml'
I don't know where this file comes from, could you please answer it? Thank you!

@windj007
Copy link
Collaborator

Could you please show the output of ls /usr/local/docker/big-lama?

@windj007
Copy link
Collaborator

windj007 commented Feb 16, 2022

This script maps files on your filesystem to virtual volumes within docker and then spawns a docker container - so '/data/checkpoint/config.yaml' is a path within container. /data/checkpoint is supposed to point to the actual folder you specify as the first argument of 2_predict - /usr/local/docker/big-lama in your case.

The correct value for this argument would be a path to a folder which contains config.yaml and models/best.ckpt files (which together constitute a checkpoint in our pipeline)

@windj007
Copy link
Collaborator

windj007 commented Apr 8, 2022

I'm closing the issue for now. If you have any other questions, feel free to reopen it or create a new one.

@windj007 windj007 closed this as completed Apr 8, 2022
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

2 participants