primepake / wav2lip_288x288

MIT License
530 stars 136 forks source link

Inference runtime error #54

Closed AhmedMohamed365 closed 7 months ago

AhmedMohamed365 commented 1 year ago

the code when I train for 10 epochs and give it a video in inference.py it says : RuntimeError: Calculated padded input size per channel: (2 x 2). Kernel size: (3 x 3). Kernel size can't be greater than actual input size

how to fix it

AhmedMohamed365 commented 1 year ago

I noticed a line says : args.img_size = 96 changed it to 288 and it worked