LIA icon indicating copy to clipboard operation
LIA copied to clipboard

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

Open iamzeid opened this issue 2 years ago • 2 comments

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?

iamzeid avatar Apr 30 '23 19:04 iamzeid

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

dedkamaroz avatar Jun 22 '23 17:06 dedkamaroz

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.

Explore008 avatar Aug 24 '23 08:08 Explore008