snakers4 / silero-vad

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

❓ PyTorch 1.5.1 load() missing 1 required positional argument: 'github' #30

Closed garymmi closed 3 years ago

garymmi commented 3 years ago

❓ Questions and Help

We have a wiki available for our users. Please make sure you have checked it out first.

i run the vad example, error as below Traceback (most recent call last): File "vad.py", line 7, in force_reload=True) TypeError: load() missing 1 required positional argument: 'github'

i use torch 1.5.1

thanks

snakers4 commented 3 years ago

i use torch 1.5.1

Please use 1.7+ I need to add this into docs

snakers4 commented 3 years ago

Added this section - https://github.com/snakers4/silero-vad#pytorch

Please note that if you just use PyTorch 1.7+ all other dependencies except for PyTorch itself are mostly superficial and are just used for IO only (see the utils file).

PyTorch 1.7 introduced breaking changes in torch.hub and since PyTorch 1.7 in a master version in most package managers, we use it by default