huggingface / huggingface/speechbox
Error with speaker diarization and transcription
Open
- Dominant language
- Python
- Stars
- 357
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
ValueError: attempt to get argmin of an empty sequence
code used:
from speechbox import ASRDiarizationPipeline
pipeline = ASRDiarizationPipeline(
asr_pipeline=asr_pipeline, diarization_pipeline=diarization_pipeline)
from transformers import pipeline
asr_pipeline = pipeline(
"automatic-speech-recognition",
model=model,
feature_extractor=feature_extractor,
tokenizer=tokenizer,
device=0
)
Contributor guide
Assessment
This issue has not been assessed yet.