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

speed issue #14

Open
gyula-coder opened this issue Nov 28, 2023 · 3 comments
Open

speed issue #14

gyula-coder opened this issue Nov 28, 2023 · 3 comments

Comments

@gyula-coder
Copy link

when I run the command 'python main.py --config config/base.yaml --experiment experiment_5x1 --signature smile --target figures/smile.png --log_dir log/', It takes about 15 minutes to generate the result svg. It need more time when processing my picture, about 12 minutes per path with the config of experiment_5x1.

Is that normal? How do I speed up the process. Thanks.

@ZZZZZZHE
Copy link

when I run the command 'python main.py --config config/base.yaml --experiment experiment_5x1 --signature smile --target figures/smile.png --log_dir log/', It takes about 15 minutes to generate the result svg. It need more time when processing my picture, about 12 minutes per path with the config of experiment_5x1.

Is that normal? How do I speed up the process. Thanks.

hello bro ,did you solve this problem thanks for your replying

@ma-xu
Copy link
Collaborator

ma-xu commented Mar 28, 2024

@stu-GYULA @ZZZZZZHE
Thanks for your interest.

Probably you need resize your image to a low resolution, like 240* 240 (in our experiments) or 320*320, etc. Image resolution will largely impact the speed.

Also, you can turn off some save options in base.yaml to speed up, https://github.com/Picsart-AI-Research/LIVE-Layerwise-Image-Vectorization/blob/main/LIVE/config/base.yaml#L8C5-L11C16

@gyula-coder
Copy link
Author

LIVE progressively generates a svg from the raster image with path setting. I hard to find a trade off from speed and the quality of svg output.

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

3 participants