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

AssertionError: In path not found! #280

Open
NDMiwa opened this issue Feb 21, 2022 · 2 comments
Open

AssertionError: In path not found! #280

NDMiwa opened this issue Feb 21, 2022 · 2 comments

Comments

@NDMiwa
Copy link

NDMiwa commented Feb 21, 2022

When I placed the image in the directory where evaluate.py is located and executed the following command, the following error occurred.

I think the path of the command is correct, but what is the possible solution?

please help me,i am just a rookie

Command

python evaluate.py --checkpoint wave.ckpt --in-path . /dog.jpg --out-path . /new_dog.jpg

Error

File "evaluate.py", line 212, in <module
main()
File "evaluate.py", line 189, in main
Check_opt(opts)
File "evaluate.py", line 181, in check_opts
exists(opts.in_path, 'path not found!')
File "srcutils.py", line 26, in exists
assert os.path.exists(p), msg
AssertionError: path not found!

image

@robertgoacher
Copy link

If you’re already in the directory you can just enter the filename. This should work:

python evaluate.py --checkpoint wave.ckpt --in-path dog.jpg --out-path new_dog.jpg

@NDMiwa
Copy link
Author

NDMiwa commented Feb 22, 2022

Thank you for youre comment.
I tryed the command.
But image conversion was not possible.

Thank you so much for commenting.

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