fast-style-transfer
fast-style-transfer copied to clipboard
AssertionError: In path not found!
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!

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
Thank you for youre comment. I tryed the command. But image conversion was not possible.
Thank you so much for commenting.