-
-
Notifications
You must be signed in to change notification settings - Fork 130
Description
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