huggingface / huggingface/speechbox

ValueError: attempt to get argmin of an empty sequence

Open
#28 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
357
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I am getting the following error when I use the ASR+Diarization pipeline:

![image](https://github.com/huggingface/speechbox/assets/140737044/22f7582d-06ac-4538-b5bc-5a485ed79628)

I understand that it's input data specific so, I am uploading my input video as well:

https://drive.google.com/file/d/1icLyL6H1Kx4NQLJoz4gnEJraalK6uqms/view?usp=sharing

It's happening when you are aligning the diarizer timestamps and the ASR timestamps:
![image](https://github.com/huggingface/speechbox/assets/140737044/35d250df-1356-4a8d-ae0b-aa63fb0c2938)

I was able to avoid it using try except but would like to know your opinion on this. Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.