-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Fails when clustering #37
Comments
Looks like this is a duplicate of #34. |
I have the same issue, I follow the tutorial on the following link: Note: The error raised when I use test video other than the video used on the tutorial After Changing the video format from mp4 to mkv the problem solved |
imageio.plugins.ffmpeg.download() is now deprecated. See also issue pyannote#37
imageio.plugins.ffmpeg.download() is now deprecated. See also issue pyannote#37
imageio.plugins.ffmpeg.download() is now deprecated. See also issue pyannote#37
Could you please point where this has to be fixed and what does it mean?
Running next code for clustering purpose on the 8 minutes video turned into failure. And the same error occurs on all 5-10 minutes videos with near 40-100 face tracks
clustering = FaceClustering(threshold=0.6)
face_tracks, embeddings = clustering.model.preprocess('../../pyannote-data/Video2.embedding.txt')
result = clustering(face_tracks, features=embeddings)
Error stack
File "C:/Users/sergii.kalyta/.spyder-py3/Face clustering.py", line 283, in
result = clustering(face_tracks, features=embeddings)
File "D:\Projects\Install\sergii.kalyta\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\pyannote\algorithms\clustering\hac\hac.py", line 204, in call
for i, current_state in enumerate(self._iterate()):
File "D:\Projects\Install\sergii.kalyta\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\pyannote\algorithms\clustering\hac\hac.py", line 172, in _iterate
self.model.update(clusters, into, parent=self)
File "D:\Projects\Install\sergii.kalyta\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\pyannote\algorithms\clustering\hac\model.py", line 164, in update
self._similarity.pop((i, j), default=None)
File "D:\Projects\Install\sergii.kalyta\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\sortedcontainers\sorteddict.py", line 427, in pop
self._list_remove(key)
File "D:\Projects\Install\sergii.kalyta\AppData\Local\Continuum\anaconda3\envs\tensorflow\lib\site-packages\sortedcontainers\sortedlist.py", line 2025, in remove
raise ValueError('{0!r} not in list'.format(value))
ValueError: (40, 2) not in list
The text was updated successfully, but these errors were encountered: