Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyannote-face.py demo exception caused by numpy 0.12 #25

Closed
wants to merge 1 commit into from

Conversation

crhan
Copy link
Contributor

@crhan crhan commented Aug 5, 2017

when running the pyannote-video nootbook, this error will occur:

Traceback (most recent call last):
  File "/home/ruohan.chen/.anaconda3/envs/pyannote/bin/pyannote-face.py", line 483, in <module>
    shift=shift, labels=labels)
  File "/home/ruohan.chen/.anaconda3/envs/pyannote/bin/pyannote-face.py", line 409, in demo
    audio_clip = AudioFileClip(filename)
  File "/home/ruohan.chen/.anaconda3/envs/pyannote/lib/python3.5/site-packages/moviepy/audio/io/AudioFileClip.py", line 63, in __init__
    buffersize=buffersize)
  File "/home/ruohan.chen/.anaconda3/envs/pyannote/lib/python3.5/site-packages/moviepy/audio/io/readers.py", line 70, in __init__
    self.buffer_around(1)
  File "/home/ruohan.chen/.anaconda3/envs/pyannote/lib/python3.5/site-packages/moviepy/audio/io/readers.py", line 234, in buffer_around
    self.buffer =  self.read_chunk(self.buffersize)
  File "/home/ruohan.chen/.anaconda3/envs/pyannote/lib/python3.5/site-packages/moviepy/audio/io/readers.py", line 123, in read_chunk
    self.nchannels))
TypeError: 'float' object cannot be interpreted as an integer

This problem has been solved in moviepy 0.2.2.13 version, so it should great equal than 0.2.2.13. This Fix is described at Zulko/moviepy#383

@crhan crhan closed this Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant