如何將StableDiffusion大模型文件直接從huggingface轉存至

- 分享一下吧,我之前也是遇到了路徑問題,然后也亂試了一番,不過解決了
- 譬如我想下載圖中一的這個模型https://huggingface.co/WarriorMama777/OrangeMixs/tree/main/Models/AbyssOrangeMix2

但是它是隸屬于Models/AbyssOrangeMix2的文件夾下的
2.接下來按照教程輸入REPO_ID:和模型名稱
- 然后報錯,顯示
HTTPError Traceback (most recent call last) /usr/local/lib/python3.8/dist-packages/huggingface_hub/utils/_errors.py in hf_raise_for_status(response, endpoint_name) 238 try: --> 239 response.raise_for_status() 240 except HTTPError as e:
6 frames
HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/AbyssOrangeMix2_sfw.safetensors The above exception was the direct cause of the following exception: EntryNotFoundError Traceback (most recent call last) /usr/local/lib/python3.8/dist-packages/huggingface_hub/utils/_errors.py in hf_raise_for_status(response, endpoint_name) 255 + f"Entry Not Found for url: {response.url}." 256 ) --> 257 raise EntryNotFoundError(message, response) from e 258 259 elif error_code == "RepoNotFound" or response.status_code == 401: EntryNotFoundError: 404 Client Error. (Request ID: Root=1-63cca295-1feaa1891250afcb342bc63e)
Entry Not Found for url: https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/AbyssOrangeMix2_sfw.safetensors.
點擊鏈接是錯誤的。
3,然后我又試了把路徑加到文件里面

前幾次是同樣的錯誤,多改幾遍就能正常下載
標簽: