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.
https://www.reshot.ai
MIT License
935 stars 94 forks source link

How to adjust max_num_groups and max_total_len #44

Closed HeCunr closed 4 months ago

HeCunr commented 6 months ago

@alexandre01 , in the deepsvg project you posted, I found that I encountered a tensor mismatch problem when using my own svg image. I found that you specified max_num_groups=8, max_total_len= 50 in deepsvg/configs/deepsvg/default_icons.py. I hope to be able to adjust the configuration of max_num_groups and max_total_len in this project and train my own max_num_groups and max_total_len to solve the problem of tensor inconsistency. Matching problem. Unfortunately, I didn't make any progress. Can you give me some guidance? I would be infinitely grateful and look forward to hearing from you!