marcoamonteiro / pi-GAN

416 stars 76 forks source link

Error when Rendering Videos #39

Closed zhywanna closed 2 years ago

zhywanna commented 2 years ago

I use the command python render_video.py ckpt/CelebA/generator.pth --curriculum CelebA --seeds 0 1 2 3 in readme, it seems the pipe is broken?

I tried to re-install scikit-video, it doesn't work.

image

Is there anything I am doing wrong ? Please help me out.

onpix commented 2 years ago

Same problem here! Don't know how to solve it.

onpix commented 2 years ago

OK, I solved it. For me, it's because the FFmpeg version is too low. run conda install ffmpeg would fix it. You could add verbosity=1 to skvideo.io.FFmpegWriter to see the detailed error message of FFmpeg.

zhywanna commented 2 years ago

Hi @creeper121386 ,

I solved the bug same as you. It seems that scikit-video use ffmpeg as backbone which need to install before. It should have been added in the requirements.txt .

bernakabadayi commented 2 years ago

it worked for me as well