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

Tensor sizes do not match #19

Open
mnoemayr opened this issue Aug 23, 2021 · 1 comment
Open

Tensor sizes do not match #19

mnoemayr opened this issue Aug 23, 2021 · 1 comment

Comments

@mnoemayr
Copy link

@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: #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!

@Shchaulova
Copy link

@mnoemayr can you fix this error?

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