Questions tagged [torchhub]
3 questions
1
vote
0 answers
Torch. hub and private repos
I want to use models from a private repository, that I have access to, with torch.hub.load, but I get HTTP error 404: not found.
I tried setting $GITHUB_TOKEN env variable, but it didn't help. Is there a way to make this work.
Btw, if I change the…

jrod17
- 11
- 1
0
votes
1 answer
Can i use "torch.hub.load" load 2 model
i working on weapon detection and want to use Object Detection and Pose Estimation for collision
but i cant load both model same time
WeaponDetectionModel = torch.hub.load('ultralytics/yolov5', 'custom',…

Kaemaros
- 1
- 1
0
votes
1 answer
torch.hub.load() raises HTTPError: HTTP Error 404: Not Found when loading model
I had this simple piece of code found on the fairseq GitHub repository which basically loads the bart.base PyTorch model from torch.hub:
bart = torch.hub.load('pytorch/fairseq', 'bart.base')
This code was working perfectly around two weeks ago, now…

Anwarvic
- 12,156
- 4
- 49
- 69