Comments (8)
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.
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?
- In which of the stages did it happen? (stage 2 or 3)
- Can you please share the full exception traceback? (i.e. the entire output you received before this line)
from clipasso.
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.
Hey I encountered same issue.
from clipasso.
@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.
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.
@PavelGrigorev great! thanks for your update :)
from clipasso.
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)
- SystemExit: 1 Error HOT 1
- ModuleAttributeError: 'ModifiedResNet' object has no attribute 'relu' HOT 4
- Error with Google Colab
- freeze_support() Error om Mac M1
- 代码问题
- Tensorflow 1 is unsupported in Colab HOT 1
- RuntimeError: radix_sort: failed on 1st step: cudaErrorInvalidDevice: invalid device ordinal HOT 1
- problem with cmake HOT 5
- python: command not found HOT 1
- ERROR: Could not find a version that satisfies the requirement pydiffvg
- ClipLoss - RuntimeError: cannot register a hook on a tensor that doesn't require gradient HOT 2
- Text condition?
- render_warp not return
- The Python version in the Docker container of this project is too low HOT 2
- Editing the Brush Style on SVGs HOT 2
- Problems with pulling the image
- how to mount file while running docker? HOT 1
- Does CLIP visual encoder need to be fine-tuned or fixed during training? HOT 1
- Error running image with gpu(cuda) support
- Running colab as is raises exception HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipasso.