Dreambooth之Lora訓(xùn)練教程(國風模型)

This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces Consuming a byte in the end state Consuming a byte in the end state Loading model from checkpoint. Loading ckpt... Pred and size are epsilon and 512, using config: /root/autodl-tmp/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/../configs/v2-training-default.yaml v2 model loaded. Trying to load: /root/autodl-tmp/stable-diffusion-webui/models/Stable-diffusion/v2-1_768-ema-pruned.yaml Converting unet... Converting vae... Converting text encoder... Downloading: 0%| | 544k/1.36G [00:22<23:48:28, 15.9kB/s]Exception setting up output: HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Read timed out. Traceback (most recent call last): File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/urllib3/response.py", line 444, in _error_catcher yield File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/urllib3/response.py", line 567, in read data = self._fp_read(amt) if not fp_closed else b"" File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/urllib3/response.py", line 533, in _fp_read return self._fp.read(amt) if amt is not None else self._fp.read() File "/root/miniconda3/envs/xl_env/lib/python3.10/http/client.py", line 465, in read s = self.fp.read(amt) File "/root/miniconda3/envs/xl_env/lib/python3.10/socket.py", line 705, in readinto return self._sock.recv_into(b) File "/root/miniconda3/envs/xl_env/lib/python3.10/ssl.py", line 1274, in recv_into return self.read(nbytes, buffer) File "/root/miniconda3/envs/xl_env/lib/python3.10/ssl.py", line 1130, in read return self._sslobj.read(len, buffer) TimeoutError: The read operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/requests/models.py", line 816, in generate yield from self.raw.stream(chunk_size, decode_content=True) File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/urllib3/response.py", line 628, in stream data = self.read(amt=amt, decode_content=decode_content) File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/urllib3/response.py", line 566, in read with self._error_catcher(): File "/root/miniconda3/envs/xl_env/lib/python3.10/contextlib.py", line 153, in __exit__ self.gen.throw(typ, value, traceback) File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/urllib3/response.py", line 449, in _error_catcher raise ReadTimeoutError(self._pool, None, "Read timed out.") urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Read timed out. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/autodl-tmp/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/sd_to_diff.py", line 1205, in extract_checkpoint text_model = convert_open_clip_checkpoint(checkpoint) File "/root/autodl-tmp/stable-diffusion-webui/extensions/sd_dreambooth_extension/dreambooth/sd_to_diff.py", line 747, in convert_open_clip_checkpoint text_model = CLIPTextModel.from_pretrained("stabilityai/stable-diffusion-2", subfolder="text_encoder") File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2137, in from_pretrained resolved_archive_file = cached_file(pretrained_model_name_or_path, filename, **cached_file_kwargs) File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/transformers/utils/hub.py", line 409, in cached_file resolved_file = hf_hub_download( File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 124, in _inner_fn return fn(*args, **kwargs) File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1242, in hf_hub_download http_get( File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 495, in http_get for chunk in r.iter_content(chunk_size=1024): File "/root/miniconda3/envs/xl_env/lib/python3.10/site-packages/requests/models.py", line 822, in generate raise ConnectionError(e) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Read timed out. Downloading: 0%| | 575k/1.36G [00:32<21:18:17, 17.7kB/s] Pipeline or config is not set, unable to continue. Restored system models.
標簽: