TMElyralab / MuseTalk

MuseTalk: Real-Time High Quality Lip Synchorization with Latent Space Inpainting
Other
1.94k stars 239 forks source link

When I putted a image in the video_path, it said "ZeroDivisionError: division by zero" #17

Closed kieojk closed 2 months ago

kieojk commented 3 months ago

When I setted test.yaml to "data/video/source.jpg", and putted a image in the video_path. Running the code, it said "ZeroDivisionError: division by zero"

360截图20240412034446904

360截图20240412033855800

itechmusic commented 3 months ago

Hi there, currently the inference code only support video or a folder containing images as video_path. Maybe you could try putting the jpg in a folder and input the path of folder as video_path. Plz let us know if it work or not.

itechmusic commented 3 months ago

Ths problem should be solved now.