wyhsirius / LIA

[ICLR 22] Latent Image Animator: Learning to Animate Images via Latent Space Navigation
https://wyhsirius.github.io/LIA-project/
Other
578 stars 64 forks source link

mat1 and mat2 shapes cannot be multiplied (6656x6 and 512x512) #20

Open iamzeid opened 1 year ago

iamzeid commented 1 year ago

Hello, When I try the demo here: https://replicate.com/wyhsirius/lia

It outputs this error: mat1 and mat2 shapes cannot be multiplied (6656x6 and 512x512)

What should I do to fix this?

dedkamaroz commented 1 year ago

I'm also getting this error, though the numbers slightly off: mat1 and mat2 shapes cannot be multiplied (6656x13 and 512x512)

Explore008 commented 10 months ago

Hello, When I try the demo here: https://replicate.com/wyhsirius/lia

It outputs this error: mat1 and mat2 shapes cannot be multiplied (6656x6 and 512x512)

What should I do to fix this?

This problem is caused by the mismatch of video resolution. The solution only needs to process the video with opencv. In the pull request module, someone provided the optimization code for run_demo, just run this.