alexandre01 / deepsvg

[NeurIPS 2020] Official code for the paper "DeepSVG: A Hierarchical Generative Network for Vector Graphics Animation". Includes a PyTorch library for deep learning with SVG data.

Home Page:https://www.lingosub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Path Encodings

sarahsester opened this issue · comments

Hi @alexandre01, amazing work! For a university project, we are planning to use the deepSVG architecture to obtain path encodings from SVG files. According to your paper, I think the output of decoder D(2) is what I am looking for. To get the latent vector z of a SVG file, I used the encode function from notebooks/latent_ops.ipynb. I now need to use the decoder D(2) to obtain the path encodings. Unfortunately, I couldn't figure out how to perform that step. I would appreciate it if you could help me out!