snakers4 / silero-vad

Silero VAD: pre-trained enterprise-grade Voice Activity Detector
MIT License
4.1k stars 402 forks source link

Bug report - [installation] Cannot import name 'get_number_ts' from 'utils_vad' #473

Closed hungiito closed 3 months ago

hungiito commented 3 months ago

🐛 Bug

I encounter this error when loading model with ref :v5.0. When removing :v5.0, it works normally

ImportError: cannot import name 'get_number_ts' from 'utils_vad' (/Users/hunguyen/.cache/torch/hub/snakers4_silero-vad_v5.0/utils_vad.py)

To Reproduce

Steps to reproduce the behavior:

torch.hub.load(
    repo_or_dir="snakers4/silero-vad:v5.0",
    model="silero_vad",
    force_reload=True,
    onnx=True,
    force_onnx_cpu=False,
)

Environment

snakers4 commented 3 months ago

@hungiito Please check now, fixed the incorrect tag

snakers4 commented 3 months ago

Since the tag is fixed, will close this one. Previous version support will be fixed here https://github.com/snakers4/silero-vad/issues/474