Closed PavelGrigorev closed 2 years ago
Hello Pavel, thanks for your interest in our work! This file should appear after the successful creation of a single sketch (with seed0), receiving this exception means that something went wrong when running the code previously.
Can you please provide more details about the error?
I am getting the same error when trying to follow the quick start example that uses run_object_sketching.py - it seems to be connected with the f"{something}" string formatting in some of the logging/saving utils (maybe it is a python version issue?)
If it is of any help for someone else I found the cause of the error in my case - there is a hardcoded "python" command inside the run_object_sketching.py code which in my case launches a python 2 instance since my machine uses "python3" to run python3 - this also caused the string related errors.
So renaming
exit_codes.append(sp.run(["python", "painterly_rendering.py", target,
to
exit_codes.append(sp.run(["python3", "painterly_rendering.py", target,
in run_object_sketching.py fixed it for me
Hey I encountered same issue.
@PavelGrigorev did you restart the runtime after stage 1? with "Runtime > Restart runtime" If not, please try to restart the runtime and then rerun stage 2 - please let me know if it worked. If you did, can you please tell me if you see any files under "output_sketches/camel"?
I got it!!! I did not restart the kernel in stage 1 Now it works fine! thank you for sharing your awesome work!
@PavelGrigorev great! thanks for your update :)
Hi @jthteo, note that I opened a new issue for your response as you used Docker and not colab, so you experienced a different issue :) please reply on the new thread.
Same for @04RR - please provide more details on your environment (docker? colab? pip?) in a new related issue, in case you used colab, and you had the same problem as Pavel's, ignore this comment :)
Hey, Yael-Vinker! I faced NotFound error running Colab : FileNotFoundError: [Errno 2] No such file or directory: '/content/CLIPasso/output_sketches/camel//camel_32strokes_seed0/config.npy' and wonder what is supposed to be there?