taming-transformers
taming-transformers copied to clipboard
How to get the url of checkpoint and config?
If I want to use wget to download the pretrained model of cin transformer,link is https://app.koofr.net/links/90cbd5aa-ef70-4f5e-99bc-f12e5a89380e how can I get the url. I tried to right click the link to download, but failed. The error I got was "HTTP request sent, waiting response... 400 Bad Request". So I think it should be my url acquisition error. This question may be very simple. I would appreciate it if someone could answer it for me.
use curl
curl -o 2021-04-03T19-39-50_cin_transformer.zip "https://app.koofr.net/content/links/90cbd5aa-ef70-4f5e-99bc-f12e5a89380e/files/get/2021-04-03T19-39-50_cin_transformer.zip?path=%2F&force"
the file server rejects any direct link request with 400. try to use referer option in your command line.
for example: for curl you can append a -e $referer option. the referer url can be found on your browser f12: