Skip to content

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

@LIQianying1215

Description

@LIQianying1215

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions