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

前端 未结 3 1704
走了就别回头了
走了就别回头了 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.

    0 讨论(0)
  • 2021-01-25 01:55

    Same problem for me.

    My solution is to install the newest ffmpeg

    sudo apt-get update install ffmpeg
    
    0 讨论(0)
  • 2021-01-25 01:59

    Same problem for me on Ubuntu 18.04.2. I installed the newest ffmpeg version after removing the conda one and it worked fine

    0 讨论(0)
提交回复
热议问题