Skip to content

Error with speaker diarization and transcription #33

@Venkatesh3132003

Description

@Venkatesh3132003

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
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions