dream-textures icon indicating copy to clipboard operation
dream-textures copied to clipboard

Everything installed but just not working.

Open PaulsonH opened this issue 2 years ago • 0 comments

Loading model from C:\Users\boji\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\stable_diffusion/models/ldm/stable-diffusion-v1/model.ckpt 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 2022-09-23 10:38:55,491 ERROR base_events.py 1729 Task exception was never retrieved future: <Task finished name='Task-1' coro=<DreamTexture.dream_texture() done, defined at C:\Users\boji\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\operators\dream_texture.py:105> exception=RuntimeError('unexpected EOF, expected 183852 more bytes. The file might be corrupted.')> Traceback (most recent call last): File "C:\Users\boji\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\operators\dream_texture.py", line 136, in dream_texture generator.load_model() File "C:\Users\boji\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\generate.py", line 457, in load_model model = self._load_model_from_config(self.config, self.weights) File "C:\Users\boji\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\generate.py", line 578, in load_model_from_config model = instantiate_from_config(c.model) File "c:\users\boji\appdata\roaming\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\util.py", line 89, in instantiate_from_config return get_obj_from_str(config['target'])( File "c:\users\boji\appdata\roaming\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\models\diffusion\ddpm.py", line 657, in init self.instantiate_cond_stage(cond_stage_config) File "c:\users\boji\appdata\roaming\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\models\diffusion\ddpm.py", line 768, in instantiate_cond_stage model = instantiate_from_config(config) File "c:\users\boji\appdata\roaming\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\util.py", line 89, in instantiate_from_config return get_obj_from_str(config['target'])( File "c:\users\boji\appdata\roaming\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\util.py", line 99, in get_obj_from_str return getattr(importlib.import_module(module, package=None), cls) File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\importlib_init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in gcd_import File "", line 1027, in find_and_load File "", line 1006, in find_and_load_unlocked File "", line 688, in load_unlocked File "", line 883, in exec_module File "", line 241, in call_with_frames_removed File "c:\users\boji\appdata\roaming\blender foundation\blender\3.3\scripts\addons\dream_textures\stable_diffusion\ldm\modules\encoders\modules.py", line 7, in import kornia File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia_init.py", line 10, in from . import ( File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\augmentation_init.py", line 43, in from .container import AugmentationSequential, ImageSequential, PatchSequential, VideoSequential File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\augmentation\container_init.py", line 1, in from .augment import AugmentationSequential File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\augmentation\container\augment.py", line 17, in from .patch import PatchSequential File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\augmentation\container\patch.py", line 9, in from kornia.contrib.extract_patches import extract_tensor_patches File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\contrib_init.py", line 4, in from .image_stitching import ImageStitcher File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\contrib\image_stitching.py", line 7, in from kornia.feature import LocalFeatureMatcher, LoFTR File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\feature_init.py", line 4, in from .integrated import ( File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\feature\integrated.py", line 52, in class LAFDescriptor(nn.Module): File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\feature\integrated.py", line 65, in LAFDescriptor patch_descriptor_module: nn.Module = HardNet(True), File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\kornia\feature\hardnet.py", line 66, in init pretrained_dict = torch.hub.load_state_dict_from_url( File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\hub.py", line 595, in load_state_dict_from_url return torch.load(cached_file, map_location=map_location) File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\serialization.py", line 713, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "D:\Program Files\Blender Foundation\Blender 3.3\3.3\python\lib\site-packages\torch\serialization.py", line 938, in _legacy_load typed_storage._storage._set_from_file( RuntimeError: unexpected EOF, expected 183852 more bytes. The file might be corrupted. C:\Users\boji\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\dream_textures\async_loop.py:62: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop()

PaulsonH avatar Sep 23 '22 02:09 PaulsonH