animation.FuncAnimation ValueError: I/O operation on closed file

前端 未结 3 1750
走了就别回头了
走了就别回头了 2021-01-25 00:57

I\'m having trouble reproducing the below code which I wanted badly for a presentation, although I understand how gradient descent works, I don\'t know whats wrong with the anim

3条回答
  •  轮回少年
    2021-01-25 01:52

    I had the same problem. I was using ffmpeg which I had installed using conda. I had to remove that using:

    conda remove ffmpeg
    

    And then I installed it using apt:

    sudo apt-get install fmpeg
    

    Seems like there is a problem with the conda version.

提交回复
热议问题