jspenmar/slowtv_monodepth

KBR++ requires BEiT download, which doesn't work

morsingher opened this issue · 1 comments

Hi, thanks for open sourcing your work. I get the following error when trying to load the checkpoint of KBR++:

urllib.error.HTTPError: HTTP Error 409: Public access is not permitted on this storage account.

The issue is that it is trying to download BEiT weights from:

Downloading: "https://conversationhub.blob.core.windows.net/beit-share-public/beit/beit_large_patch16_384_pt22k_ft22kto1k.pth"

However, even copy-pasting the link to the browser gives the following error:

<Error> <Code>PublicAccessNotPermitted</Code> <Message>Public access is not permitted on this storage account. RequestId:43bed8aa-001e-00bf-4b14-7935e1000000 Time:2024-03-18T09:16:30.7260011Z</Message> </Error>

Any workaround?

Hi morsingher,

Looks like it's a problem with loading the original weights from the timm encoder.
Since you're trying to use the full pretrained model, you should be able to sidestep this by modifying pretrained=False in the loaded checkpoint parameters.

Kind regards,
Jaime