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

How to avoid redundant vector lines when using DiffVG? #19

Closed
xuanlongORZ opened this issue May 29, 2024 · 1 comment
Closed

How to avoid redundant vector lines when using DiffVG? #19

xuanlongORZ opened this issue May 29, 2024 · 1 comment

Comments

@xuanlongORZ
Copy link

xuanlongORZ commented May 29, 2024

Hi ! Thanks for the great work !
I'm trying to vetorize my lineart using DiffSVG with default settings, but I found that in the final .svg, there are many initial vector lines that are useless (in the .png final output, they are strangely not very visible). I wonder if this is due to the wrong estimation of the number of the initialization vector lines (I'm pretty new to this area, forgive me if this is a stupid question :D ). Is this kind of problem unavoidable?

@ximinng
Copy link
Owner

ximinng commented May 30, 2024

Hello,
There are invisible paths (i.e low opacity) because you are using too many paths. Adjusting the num_paths hyperparameter will give better results.
best regards,
ximing

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

2 participants