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

SVG.from_tensor()

myfeet2cold opened this issue · comments

Hello!
I'm trying to get a svg file from tensor by using your method from_tensor() in deepsvg.svglib.svg, but as I open the svg file exported, there is nothing displayed, it's just all white in the Chrome.
I don`t understand the reason.
Thank you!

I'm not sure if you're experiencing the same issue I am,
but I've noticed when loading my own svg which had no fill and a black stroke that in the jupyter notebooks it appeared a white box. However, using the Inspect Element features of browser's developer tools I could highlight the svg element within the jupyter cell result and the svg element indeed contained the expected paths.

Could this be happening in your case as well ?