Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hungiito opened this issue Jun 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hungiito
Copy link

🐛 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

  • PyTorch Version (e.g., 1.0): 2.3.1
  • OS (e.g., Linux): MacOS
  • How you installed PyTorch (conda, pip, source): poetry
  • Python version: 3.10.13
  • CUDA/cuDNN version: None
@hungiito hungiito added the bug Something isn't working label Jun 28, 2024
@snakers4
Copy link
Owner

snakers4 commented Jun 28, 2024

@hungiito
Please check now, fixed the incorrect tag

@snakers4
Copy link
Owner

Since the tag is fixed, will close this one.
Previous version support will be fixed here
#474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants