Giter Club home page Giter Club logo

Comments (8)

Quasimondo avatar Quasimondo commented on September 3, 2024 2

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

from clipasso.

yael-vinker avatar yael-vinker commented on September 3, 2024

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?

  1. In which of the stages did it happen? (stage 2 or 3)
  2. Can you please share the full exception traceback? (i.e. the entire output you received before this line)

from clipasso.

Quasimondo avatar Quasimondo commented on September 3, 2024

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?)

from clipasso.

04RR avatar 04RR commented on September 3, 2024

Hey I encountered same issue.

from clipasso.

yael-vinker avatar yael-vinker commented on September 3, 2024

@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"?

from clipasso.

PavelGrigorev avatar PavelGrigorev commented on September 3, 2024

I got it!!!
I did not restart the kernel in stage 1
Now it works fine!
thank you for sharing your awesome work!

from clipasso.

yael-vinker avatar yael-vinker commented on September 3, 2024

@PavelGrigorev great! thanks for your update :)

from clipasso.

yael-vinker avatar yael-vinker commented on September 3, 2024

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 :)

from clipasso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.