pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, 'v'. #504
Unanswered
Kibmeister
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hey
I get this error after running "start stable-diffusion"
Moving __init__.py from /content/gdrive/MyDrive/sd/stable-diffusion-webui/gfpgan to /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/GFPGAN. Moving train.py from /content/gdrive/MyDrive/sd/stable-diffusion-webui/gfpgan to /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/GFPGAN. Moving utils.py from /content/gdrive/MyDrive/sd/stable-diffusion-webui/gfpgan to /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/GFPGAN. 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 /root/.cache/torch/hub/checkpoints/checkpoint_liberty_with_aug.pth 100% 5.10M/5.10M [00:00<00:00, 143MB/s] Downloading: 100% 939k/939k [00:01<00:00, 712kB/s] Downloading: 100% 512k/512k [00:01<00:00, 464kB/s] Downloading: 100% 389/389 [00:00<00:00, 255kB/s] Downloading: 100% 905/905 [00:00<00:00, 797kB/s] Downloading: 100% 4.41k/4.41k [00:00<00:00, 2.73MB/s] Downloading: 100% 1.59G/1.59G [00:44<00:00, 38.8MB/s] Loading weights [e3b0c442] from /content/gdrive/MyDrive/HuggingFace/MobiUiUx/MobiUiUX_step_5500.ckpt Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 203, in <module> webui() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 146, in webui initialize() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 82, in initialize modules.sd_models.load_model() File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 254, in load_model load_model_weights(sd_model, checkpoint_info) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models.py", line 183, in load_model_weights pl_sd = torch.load(checkpoint_file, map_location=shared.weight_load_location) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/safe.py", line 102, in load return load_with_extra(filename, *args, **kwargs) File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/safe.py", line 147, in load_with_extra return unsafe_torch_load(filename, *args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 713, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 920, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, 'v'.
Beta Was this translation helpful? Give feedback.
All reactions