如何将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,然后我又试了把路径加到文件里面

前几次是同样的错误,多改几遍就能正常下载