soft-vc icon indicating copy to clipboard operation
soft-vc copied to clipboard

Bug:TypeError: hubert_soft() got an unexpected keyword argument 'trust_repo'

Open LIQianying1215 opened this issue 1 year ago • 0 comments

I would like to ask if anyone has encountered this problem while doing experiments? How was it solved?

Using cache found in /data0/home/Liqy/.cache/torch/hub/bshall_hubert_main Traceback (most recent call last): File "/tmp/pycharm_project_363/test.py", line 4, in hubert = torch.hub.load("bshall/hubert:main", "hubert_soft", trust_repo=True).cuda() File "/Nas/Liqy/hubert-main/lib/python3.10/site-packages/torch/hub.py", line 404, in load model = _load_local(repo_or_dir, model, *args, **kwargs) File "/Nas/Liqy/hubert-main/lib/python3.10/site-packages/torch/hub.py", line 433, in _load_local model = entry(*args, **kwargs) TypeError: hubert_soft() got an unexpected keyword argument 'trust_repo'

Is it my pytorch version? Can you give me your pytorch version for reference? Thank you very much

LIQianying1215 avatar Oct 09 '23 12:10 LIQianying1215