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

data preprocess #1

Closed
yael-vinker opened this issue May 19, 2024 · 1 comment
Closed

data preprocess #1

yael-vinker opened this issue May 19, 2024 · 1 comment

Comments

@yael-vinker
Copy link

Hi, nice work!
I downloaded your data following the instructions.
However, it seems like the preprocessed data is not structured as a path sequence.
For example if I open ""
this is the text file:
\n \n
image

As can be seen, the SVG is constructed weirdly, without paths.
Did you use this data for training? or did you apply some additional preprocess to FIGR8?
Thanks

@kingnobro
Copy link
Owner

Hello. SVG data in FIGR8 can contain various numbers of paths. The SVG you referenced contains only one path, but includes several 'Move' commands to draw the windows and the door. Why are there numerous 'Move' commands in the same path? They are used to create 'fill' properties. More information can be found here: https://oreillymedia.github.io/Using_SVG/extras/ch06-fill-rule.html

To answer your question, since this SVG has only one path, we use this data for training. However, many SVGs contain multiple paths.

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