Open dtch1997 opened 9 months ago
I strongly suspect this is something to do with the R3M authors' google drive link, not gdown
, because all the other model downloads work.
EDIT: I can still download the model.pt
manually by opening the download link in a web browser. I guess the download is rate-limited or something.
I tried to circumvent this issue by creating my own copy of the file.
r3m/r3m-18
model from the original link. jam.model_zoo
, updated the URL.
"r3m/r3m-18": {
# Original URL from R3M
# "ckpt_url": "https://drive.google.com/uc?id=1A1ic-p4KtYlKXdXHcV2QV0cUzI4kn0u-",
"ckpt_url": "https://drive.google.com/uc?export=download&id=1FhMe4QOzLs0OVRww9mNBK54T6R6xiALt",
"ckpt_md5": "777854e2548f91480b0bd538a06ba017",
# "config_url": "https://drive.google.com/uc?id=1nitbHQ-GRorxc7vMUiEHjHWP5N11Jvc6",
# "config_md5": "e226d5115543dee07fd51a17c7866bc9",
},
I still get the same error message. Very odd...
A possible solution might be to manually download the file, then convert it according to jam
. This would require disentangling the download logic from the convert logic.
I have been thinking about hosting a converted copy of the model weights (in safetensor or npz) on HF, which would streamline loading quite a bit, what are your thoughts?
Sorry, missed this earlier! Yeah I think hosting a copy of the weights is a great idea, assuming there are no licensing issues
To reproduce:
Error message:
Stack trace: