[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.
@alexandre01 congratulations on your work! I have a question to a tensor problem that I encountered.
When using 'interpolate_icons(icon1, icon2)' on different SVGs (created with Adobe/Rhino3d + preprocessed using preprocess.py + to batch convert SVGs to *.pkl tensors from @matuz-z here: https://github.com/alexandre01/deepsvg/issues/5), I got the following message:
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 35 and 32 in dimension 1 at C:\w\1\s\windows\pytorch\aten\src\TH/generic/THTensor.cpp:612
For some SVGs created with Adobe Illustrator this worked and there was no error.
Have I misunderstood something? I would appreciate very much your help!
@alexandre01 congratulations on your work! I have a question to a tensor problem that I encountered.
When using 'interpolate_icons(icon1, icon2)' on different SVGs (created with Adobe/Rhino3d + preprocessed using preprocess.py + to batch convert SVGs to *.pkl tensors from @matuz-z here: https://github.com/alexandre01/deepsvg/issues/5), I got the following message:
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 35 and 32 in dimension 1 at C:\w\1\s\windows\pytorch\aten\src\TH/generic/THTensor.cpp:612
For some SVGs created with Adobe Illustrator this worked and there was no error.
Have I misunderstood something? I would appreciate very much your help!