1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
| Global seed set to 27 Loading model from models/ldm/stable-diffusion-v1/model.ckpt Global Step: 470000 LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. making attention of type 'vanilla' with 512 in_channels Working with z of shape (1, 4, 32, 32) = 4096 dimensions. making attention of type 'vanilla' with 512 in_channels Downloading: "https://github.com/DagnyT/hardnet/raw/master/pretrained/train_liberty_with_aug/checkpoint_liberty_with_aug.pth" to C:\Users\HUNGCHIA/.cache\torch\hub\checkpoints\checkpoint_liberty_with_aug.pth 1%|▊ | 32.0k/5.10M [00:00<00:13, 383kB/s] Traceback (most recent call last): File "scripts/txt2img.py", line 279, in <module> main() File "scripts/txt2img.py", line 188, in main model = load_model_from_config(config, f"{opt.ckpt}") File "scripts/txt2img.py", line 31, in load_model_from_config model = instantiate_from_config(config.model) File "d:\stable diffusion\stable-diffusion-main\ldm\util.py", line 85, in instantiate_from_config return get_obj_from_str(config["target"])(**config.get("params", dict())) File "d:\stable diffusion\stable-diffusion-main\ldm\models\diffusion\ddpm.py", line 461, in __init__ self.instantiate_cond_stage(cond_stage_config) File "d:\stable diffusion\stable-diffusion-main\ldm\models\diffusion\ddpm.py", line 519, in instantiate_cond_stage model = instantiate_from_config(config) File "d:\stable diffusion\stable-diffusion-main\ldm\util.py", line 85, in instantiate_from_config return get_obj_from_str(config["target"])(**config.get("params", dict())) File "d:\stable diffusion\stable-diffusion-main\ldm\util.py", line 93, in get_obj_from_str return getattr(importlib.import_module(module, package=None), cls) File "C:\ProgramData\miniconda3\envs\ldm\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 783, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "d:\stable diffusion\stable-diffusion-main\ldm\modules\encoders\modules.py", line 7, in <module> import kornia File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\__init__.py", line 10, in <module> from . import ( File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\augmentation\__init__.py", line 43, in <module> from .container import AugmentationSequential, ImageSequential, PatchSequential, VideoSequential File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\augmentation\container\__init__.py", line 1, in <module> from .augment import AugmentationSequential File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\augmentation\container\augment.py", line 17, in <module> from .patch import PatchSequential File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\augmentation\container\patch.py", line 9, in <module> from kornia.contrib.extract_patches import extract_tensor_patches File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\contrib\__init__.py", line 4, in <module> from .image_stitching import ImageStitcher File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\contrib\image_stitching.py", line 7, in <module> from kornia.feature import LocalFeatureMatcher, LoFTR File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\feature\__init__.py", line 4, in <module> from .integrated import ( File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\feature\integrated.py", line 52, in <module> class LAFDescriptor(nn.Module): File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\feature\integrated.py", line 65, in LAFDescriptor patch_descriptor_module: nn.Module = HardNet(True), File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\kornia\feature\hardnet.py", line 66, in __init__ pretrained_dict = torch.hub.load_state_dict_from_url( File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\torch\hub.py", line 591, in load_state_dict_from_url download_url_to_file(url, cached_file, hash_prefix, progress=progress) File "C:\ProgramData\miniconda3\envs\ldm\lib\site-packages\torch\hub.py", line 479, in download_url_to_file buffer = u.read(8192) File "C:\ProgramData\miniconda3\envs\ldm\lib\http\client.py", line 458, in read n = self.readinto(b) File "C:\ProgramData\miniconda3\envs\ldm\lib\http\client.py", line 502, in readinto n = self.fp.readinto(b) File "C:\ProgramData\miniconda3\envs\ldm\lib\socket.py", line 669, in readinto return self._sock.recv_into(b) File "C:\ProgramData\miniconda3\envs\ldm\lib\ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "C:\ProgramData\miniconda3\envs\ldm\lib\ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [WinError 10054] 遠端主機已強制關閉一個現存的連線。
|