unable to download custom model
Closed this issue ยท 4 comments
when i try to train with a custom model im hitted with that log
๐ Downloading model...
/bin/bash: line 1: aria2c: command not found
mv: cannot stat '/content/downloaded_model.safetensors': No such file or directory
Renamed model to /content/downloaded_model.ckpt
๐ฅ Error: The model you selected is invalid or corrupted, or couldn't be downloaded. You can use a civitai or huggingface link, or any direct download link.
heres the model link that i try to use
https://civitai.com/api/download/models/465903?type=Model&format=SafeTensor&size=pruned&fp=fp16
this would be the correct link:
https://civitai.com/api/download/models/465903
after the โ?โ you must remove everything or it will give an error.
getting the same error:
`โ
Installation finished in 272 seconds.
๐ Downloading model...
06/02 19:08:05 [ERROR] CUID#7 - Download aborted. URI=https://civitai.com/api/download/models/535328
Exception: [AbstractCommand.cc:351] errorCode=24 URI=https://civitai.com/api/download/models/535328
-> [HttpSkipResponseCommand.cc:215] errorCode=24 Authorization failed.
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
114648|ERR | 0B/s|//content/downloaded_model.safetensors
Status Legend:
(ERR):error occurred.
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
mv: cannot stat '/content/downloaded_model.safetensors': No such file or directory
Renamed model to /content/downloaded_model.ckpt
๐ฅ Error: The model you selected is invalid or corrupted, or couldn't be downloaded. You can use a civitai or huggingface link, or any direct download link.`
@elouannd the model failed to download because it can only be downloaded while logged in. This is configured by the model author.
You can now use a model in your Google Drive to train in the XL colab, if everything else fails.
The path must start like: /content/drive/MyDrive/