Nekos4Lyfe commited on
Commit
f047349
·
1 Parent(s): 9e7474d

Delete Neko_sd.ipynb

Browse files
Files changed (1) hide show
  1. Neko_sd.ipynb +0 -821
Neko_sd.ipynb DELETED
@@ -1,821 +0,0 @@
1
- {
2
- "cells": [
3
- {
4
- "cell_type": "code",
5
- "source": [
6
- "#Fetch the .zip file of the UI\n",
7
- "#Note that extensions are attached within this .zip file\n",
8
- "#A full list of extensions used can be found under sd/extensions/Extensions download URLs.txt\n",
9
- "%cd /content\n",
10
- "!curl -Lo sd.zip https://huggingface.co/Nekos4Lyfe/sd-kit/resolve/main/sd.zip\n",
11
- "!unzip sd.zip "
12
- ],
13
- "metadata": {
14
- "id": "V1X7OSaLJuHa"
15
- },
16
- "execution_count": null,
17
- "outputs": []
18
- },
19
- {
20
- "cell_type": "code",
21
- "source": [
22
- "#Download some basic ControlNET models \n",
23
- "!curl -Lo /content/sd/extensions/controlnet/models/control_v11p_sd15_canny.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_canny_fp16.safetensors\n",
24
- "!curl -Lo /content/sd/extensions/controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
25
- "!curl -Lo /content/sd/extensions/controlnet/models/control_v11p_sd15_lineart.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_lineart_fp16.safetensors\n",
26
- "!curl -Lo /content/sd/extensions/controlnet/models/control_v11p_sd15s2_lineart_anime.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors\n"
27
- ],
28
- "metadata": {
29
- "id": "3ab7ebbQIP-v"
30
- },
31
- "execution_count": null,
32
- "outputs": []
33
- },
34
- {
35
- "cell_type": "code",
36
- "source": [
37
- "#Use remote storage rather then Drive storage \n",
38
- "#(note that you will lose all generated images at end of session)\n",
39
- "%cd /content\n",
40
- "!curl -Lo memfix.zip https://huggingface.co/Nekos4Lyfe/sd-kit/resolve/main/memfix.zip \n",
41
- "!unzip memfix.zip\n",
42
- "!apt install -qq libunwind8-dev\n",
43
- "!dpkg -i *.deb\n",
44
- "%env LD_PRELOAD=libtcmalloc.so\n",
45
- "!rm *"
46
- ],
47
- "metadata": {
48
- "id": "S6rWXqLUAORu"
49
- },
50
- "execution_count": null,
51
- "outputs": []
52
- },
53
- {
54
- "cell_type": "code",
55
- "source": [
56
- "from google.colab import drive\n",
57
- "drive.mount('/content/drive')\n",
58
- "\n",
59
- "#Choose a model to store on Drive as backup. Here are some examples\n",
60
- "#!curl -Lo /content/drive/MyDrive/models/mistoon.safetensors https://civitai.com/api/download/models/28861\n",
61
- "#!curl -Lo /content/drive/MyDrive/models/ghostmix.safetensors https://civitai.com/api/download/models/64503\n",
62
- "#!curl -Lo /content/drive/MyDrive/models/darkside.safetensors https://civitai.com/api/download/models/63193\n",
63
- "#!curl -Lo /content/drive/MyDrive/models/lyriel.safetensors https://civitai.com/api/download/models/72396\n",
64
- "#!curl -Lo /content/drive/MyDrive/models/beenyou.safetensors https://civitai.com/api/download/models/64889\n",
65
- "#!curl -Lo /content/drive/MyDrive/models/analogmadness.safetensors https://civitai.com/api/download/models/56498\n",
66
- "\n",
67
- "#Store VAE on your drive for easy access in the future \n",
68
- "#!curl -Lo /content/drive/MyDrive/VAE/mse840000.vae.pt https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt #<--Commonly used VAE For photoreal models\n",
69
- "#!curl -Lo /content/drive/MyDrive/VAE/kl-f8-anime2.vae.pt https://civitai.com/api/download/models/28569 #<--Commonly used VAE For anime models\n",
70
- "\n",
71
- "#Add a preloaded model from your Google drive (recommended as civitai is slow/offline sometimes)\n",
72
- "#import shutil\n",
73
- "#shutil.copy(\"/content/drive/MyDrive/models/analogmadness.safetensors\", \n",
74
- "# \"/content/sd/models/Stable-diffusion/analogmadness.safetensors\")\n",
75
- "\n",
76
- "#Add VAE to model\n",
77
- "#shutil.copy(\"/content/drive/MyDrive/VAE/mse840000.vae.pt\", \n",
78
- "# \"/content/sd/models/Stable-diffusion/analogmadness.vae.pt\")"
79
- ],
80
- "metadata": {
81
- "colab": {
82
- "base_uri": "https://localhost:8080/"
83
- },
84
- "id": "pFkOt218iAKp",
85
- "outputId": "ae13e74f-1822-48e1-9f5d-b03479f8ab41"
86
- },
87
- "execution_count": 4,
88
- "outputs": [
89
- {
90
- "output_type": "stream",
91
- "name": "stdout",
92
- "text": [
93
- "Mounted at /content/drive\n"
94
- ]
95
- }
96
- ]
97
- },
98
- {
99
- "cell_type": "code",
100
- "source": [
101
- "#--------------Add a model from civitai:-------------------------------#\n",
102
- "!curl -Lo /content/sd/models/Stable-diffusion/analogmadness.safetensors https://civitai.com/api/download/models/56498\n",
103
- "#!curl -Lo /content/sd/models/Stable-diffusion/mistoon.safetensors https://civitai.com/api/download/models/28861\n",
104
- "\n",
105
- "#Add a model from Google Drive\n",
106
- "#import shutil\n",
107
- "#shutil.copy(\"/content/drive/MyDrive/models/analogmadness.safetensors\", \n",
108
- " # \"/content/sd/models/Stable-diffusion/analogmadness.safetensors\")\n",
109
- "\n",
110
- "#---------------Add VAE stored on drive to model:-----------------------#\n",
111
- "\n",
112
- "#For anime models:\n",
113
- "#import shutil\n",
114
- "#shutil.copy(\"/content/drive/MyDrive/VAE/kl-f8-anime2.vae.pt\", \n",
115
- "# \"/content/sd/models/Stable-diffusion/mistoon.vae.pt\")\n",
116
- "\n",
117
- "#For photoreal models:\n",
118
- "import shutil\n",
119
- "shutil.copy(\"/content/drive/MyDrive/VAE/mse840000.vae.pt\", \n",
120
- " \"/content/sd/models/Stable-diffusion/analogmadness.vae.pt\")\n"
121
- ],
122
- "metadata": {
123
- "colab": {
124
- "base_uri": "https://localhost:8080/",
125
- "height": 35
126
- },
127
- "id": "TtUGrBEN7AsN",
128
- "outputId": "1b452bfd-6b7c-4fa4-c612-15bf5caff61f"
129
- },
130
- "execution_count": 5,
131
- "outputs": [
132
- {
133
- "output_type": "execute_result",
134
- "data": {
135
- "text/plain": [
136
- "'/content/sd/models/Stable-diffusion/analogmadness.vae.pt'"
137
- ],
138
- "application/vnd.google.colaboratory.intrinsic+json": {
139
- "type": "string"
140
- }
141
- },
142
- "metadata": {},
143
- "execution_count": 5
144
- }
145
- ]
146
- },
147
- {
148
- "cell_type": "code",
149
- "source": [
150
- "#Install dependencies\n",
151
- "!pip install --upgrade fastapi==0.90.1\n",
152
- "!pip install -q torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U\n",
153
- "!pip install -q xformers==0.0.18 triton==2.0.0 -U\n",
154
- "\n",
155
- "#run the webui once \n",
156
- "#Three blue links will appear to the UI\n",
157
- "#(This cell will run indefinetely until you press the square shaped \"Stop\" button <---)\n",
158
- "#\n",
159
- "%cd /content/sd\n",
160
- "!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --remotemoe\" REQS_FILE=\"requirements.txt\" python launch.py\n",
161
- "# If remotemoe failed to start, change '--remotemoe' to '--cloudflared' on the COMMANDLINE_ARGS line above to use cloudflare tunnel"
162
- ],
163
- "metadata": {
164
- "id": "XFottHPM31pS"
165
- },
166
- "execution_count": null,
167
- "outputs": []
168
- },
169
- {
170
- "cell_type": "code",
171
- "source": [
172
- "#Add some embeddings\n",
173
- "#How to use: \n",
174
- "#write \"no_Sketch\" in the negative prompt to activate no_Sketch.pt\n",
175
- "#write angry512 in the prompt to activate angry512.pt\n",
176
- "%cd /content\n",
177
- "#!curl -Lo embeddings.zip https://huggingface.co/Nekos4Lyfe/sd-kit/resolve/main/embeddings.zip \n",
178
- "%cd /content/sd/embeddings\n",
179
- "!unzip /content/embeddings.zip "
180
- ],
181
- "metadata": {
182
- "id": "P3MTYF8fmVDY"
183
- },
184
- "execution_count": null,
185
- "outputs": []
186
- },
187
- {
188
- "cell_type": "code",
189
- "execution_count": null,
190
- "metadata": {
191
- "id": "b7FqKKN4tE3m"
192
- },
193
- "outputs": [],
194
- "source": [
195
- "#Add some LoRa:s (You can only do this after running the UI once)\n",
196
- "#Here the LoRa trigger words are the same as the LoRa .safetensor names\n",
197
- "#How to use: write <lora:epinoise:1> epinoise in the prompt to activate the Lora epinoise.safetensors\n",
198
- "!curl -Lo /content/sd/models/Lora/epinoise.safetensors https://civitai.com/api/download/models/16576\n",
199
- "!curl -Lo /content/sd/models/Lora/dieselpunkai.safetensors https://civitai.com/api/download/models/27755\n",
200
- "!curl -Lo /content/sd/models/Lora/hipoly.safetensors https://civitai.com/api/download/models/44566\n",
201
- "!curl -Lo /content/sd/models/Lora/1990s\\(style\\).safetensors https://civitai.com/api/download/models/54221\n",
202
- "!curl -Lo /content/sd/models/Lora/kids_illustration.safetensors https://civitai.com/api/download/models/67980\n",
203
- "!curl -Lo /content/sd/models/Lora/\\(illumination\\).safetensors https://civitai.com/api/download/models/42981"
204
- ]
205
- },
206
- {
207
- "cell_type": "code",
208
- "source": [
209
- "#Run the UI again with the LoRa and embeddings\n",
210
- "#To access the LoRa and embeddings, click one of the buttons beneath the big \"Generate!\" button. \n",
211
- "#It's the button beneath \"Generate!\" right in the middle with some orange on it. \n",
212
- "#Scroll up to find the UI links\n",
213
- "%cd /content/sd\n",
214
- "!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --remotemoe\" REQS_FILE=\"requirements.txt\" python launch.py\n",
215
- "# If remotemoe failed to start, change '--remotemoe' to '--cloudflared' on the COMMANDLINE_ARGS line above to use cloudflare tunnel"
216
- ],
217
- "metadata": {
218
- "id": "2jdGVvT19hk2",
219
- "colab": {
220
- "base_uri": "https://localhost:8080/"
221
- },
222
- "outputId": "e64ddfb3-a4ce-468b-9788-8229d88896a2"
223
- },
224
- "execution_count": null,
225
- "outputs": [
226
- {
227
- "output_type": "stream",
228
- "name": "stdout",
229
- "text": [
230
- "/content/sd\n",
231
- "Python 3.10.11 (main, Apr 5 2023, 14:15:10) [GCC 9.4.0]\n",
232
- "Version: <none>\n",
233
- "Commit hash: <none>\n",
234
- "Installing requirements\n",
235
- "\n",
236
- "Installing sd-dynamic-prompts requirements.txt\n",
237
- "\n",
238
- "\n",
239
- "\n",
240
- "Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --remotemoe\n",
241
- "2023-06-03 18:55:29.348052: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n",
242
- "To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n",
243
- "2023-06-03 18:55:31.161250: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
244
- "\u001b[1m[\u001b[0m-\u001b[1m]\u001b[0m ADetailer initialized. version: \u001b[1;36m23.5\u001b[0m.\u001b[1;36m11\u001b[0m, num models: \u001b[1;36m7\u001b[0m\n",
245
- "Civitai Helper: Get Custom Model Folder\n",
246
- "Civitai Helper: Load setting from: /content/sd/extensions/civitai-helper/setting.json\n",
247
- "Civitai Helper: No setting file, use default\n",
248
- "ControlNet v1.1.214\n",
249
- "ControlNet v1.1.214\n",
250
- "remote.moe detected, trying to connect...\n",
251
- "Loading weights [0b914c246e] from /content/sd/models/Stable-diffusion/analogmadness.safetensors\n",
252
- "Create LRU cache (max_size=16) for preprocessor results.\n",
253
- "Create LRU cache (max_size=16) for preprocessor results.\n",
254
- "Running on local URL: http://127.0.0.1:7860\n",
255
- "Creating model from config: /content/sd/configs/v1-inference.yaml\n",
256
- "LatentDiffusion: Running in eps-prediction mode\n",
257
- "DiffusionWrapper has 859.52 M params.\n",
258
- "Running on public URL: https://74a4ca500ad4d40079.gradio.live\n",
259
- "Running on public URL (recommended): http://jqkk6tt2t75dg7hg24jo6gztfyfbwo45opp3lgbsqzvhsxszifkq.remote.moe\n",
260
- "Create LRU cache (max_size=16) for preprocessor results.\n",
261
- "Startup time: 23.7s (import torch: 7.3s, import gradio: 1.9s, import ldm: 2.1s, other imports: 1.9s, setup codeformer: 0.2s, load scripts: 6.7s, create ui: 1.2s, gradio launch: 2.4s).\n",
262
- "Loading VAE weights found near the checkpoint: /content/sd/models/Stable-diffusion/analogmadness.vae.pt\n",
263
- "Applying xformers cross attention optimization.\n",
264
- "Error loading embedding ._grin512.pt:\n",
265
- "Traceback (most recent call last):\n",
266
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
267
- " self.load_from_file(fullfn, fn)\n",
268
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
269
- " data = torch.load(path, map_location=\"cpu\")\n",
270
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
271
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
272
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
273
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
274
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
275
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
276
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
277
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
278
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
279
- "\n",
280
- "Error loading embedding ._easynegative.pt:\n",
281
- "Traceback (most recent call last):\n",
282
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
283
- " self.load_from_file(fullfn, fn)\n",
284
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
285
- " data = torch.load(path, map_location=\"cpu\")\n",
286
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
287
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
288
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
289
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
290
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
291
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
292
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
293
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
294
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
295
- "\n",
296
- "Error loading embedding ._no_Badhand.pt:\n",
297
- "Traceback (most recent call last):\n",
298
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
299
- " self.load_from_file(fullfn, fn)\n",
300
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
301
- " data = torch.load(path, map_location=\"cpu\")\n",
302
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
303
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
304
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
305
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
306
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
307
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
308
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
309
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
310
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
311
- "\n",
312
- "Error loading embedding ._defiance512.pt:\n",
313
- "Traceback (most recent call last):\n",
314
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
315
- " self.load_from_file(fullfn, fn)\n",
316
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
317
- " data = torch.load(path, map_location=\"cpu\")\n",
318
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
319
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
320
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
321
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
322
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
323
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
324
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
325
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
326
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
327
- "\n",
328
- "Error loading embedding ._no_BadAnatomy.pt:\n",
329
- "Traceback (most recent call last):\n",
330
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
331
- " self.load_from_file(fullfn, fn)\n",
332
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
333
- " data = torch.load(path, map_location=\"cpu\")\n",
334
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
335
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
336
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
337
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
338
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
339
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
340
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
341
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
342
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
343
- "\n",
344
- "Error loading embedding ._no_Sketch.bin:\n",
345
- "Traceback (most recent call last):\n",
346
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
347
- " self.load_from_file(fullfn, fn)\n",
348
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
349
- " data = torch.load(path, map_location=\"cpu\")\n",
350
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
351
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
352
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
353
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
354
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
355
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
356
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
357
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
358
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
359
- "\n",
360
- "Error loading embedding ._sad512.pt:\n",
361
- "Traceback (most recent call last):\n",
362
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
363
- " self.load_from_file(fullfn, fn)\n",
364
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
365
- " data = torch.load(path, map_location=\"cpu\")\n",
366
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
367
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
368
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
369
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
370
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
371
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
372
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
373
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
374
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
375
- "\n",
376
- "Error loading embedding ._happy512.pt:\n",
377
- "Traceback (most recent call last):\n",
378
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
379
- " self.load_from_file(fullfn, fn)\n",
380
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
381
- " data = torch.load(path, map_location=\"cpu\")\n",
382
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
383
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
384
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
385
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
386
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
387
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
388
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
389
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
390
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
391
- "\n",
392
- "Error loading embedding ._shock512.pt:\n",
393
- "Traceback (most recent call last):\n",
394
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
395
- " self.load_from_file(fullfn, fn)\n",
396
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
397
- " data = torch.load(path, map_location=\"cpu\")\n",
398
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
399
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
400
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
401
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
402
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
403
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
404
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
405
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
406
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
407
- "\n",
408
- "Error loading embedding ._angry512.pt:\n",
409
- "Traceback (most recent call last):\n",
410
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
411
- " self.load_from_file(fullfn, fn)\n",
412
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
413
- " data = torch.load(path, map_location=\"cpu\")\n",
414
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
415
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
416
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
417
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
418
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
419
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
420
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
421
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
422
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
423
- "\n",
424
- "Error loading embedding ._laugh512.pt:\n",
425
- "Traceback (most recent call last):\n",
426
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
427
- " self.load_from_file(fullfn, fn)\n",
428
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
429
- " data = torch.load(path, map_location=\"cpu\")\n",
430
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
431
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
432
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
433
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
434
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
435
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
436
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
437
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
438
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
439
- "\n",
440
- "Error loading embedding ._smile512.pt:\n",
441
- "Traceback (most recent call last):\n",
442
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
443
- " self.load_from_file(fullfn, fn)\n",
444
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
445
- " data = torch.load(path, map_location=\"cpu\")\n",
446
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
447
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
448
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
449
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
450
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
451
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
452
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
453
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
454
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
455
- "\n",
456
- "Error loading embedding ._no_BadQuality.pt:\n",
457
- "Traceback (most recent call last):\n",
458
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
459
- " self.load_from_file(fullfn, fn)\n",
460
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
461
- " data = torch.load(path, map_location=\"cpu\")\n",
462
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
463
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
464
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
465
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
466
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
467
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
468
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
469
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
470
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
471
- "\n",
472
- "Error loading embedding ._no_Asian.pt:\n",
473
- "Traceback (most recent call last):\n",
474
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
475
- " self.load_from_file(fullfn, fn)\n",
476
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
477
- " data = torch.load(path, map_location=\"cpu\")\n",
478
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
479
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
480
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
481
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
482
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
483
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
484
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
485
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
486
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
487
- "\n",
488
- "Error loading embedding ._no_3D.pt:\n",
489
- "Traceback (most recent call last):\n",
490
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
491
- " self.load_from_file(fullfn, fn)\n",
492
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
493
- " data = torch.load(path, map_location=\"cpu\")\n",
494
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
495
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
496
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
497
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
498
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
499
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
500
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
501
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
502
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
503
- "\n",
504
- "Error loading embedding ._no_BadPhotoRealism.pt:\n",
505
- "Traceback (most recent call last):\n",
506
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
507
- " self.load_from_file(fullfn, fn)\n",
508
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
509
- " data = torch.load(path, map_location=\"cpu\")\n",
510
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
511
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
512
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
513
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
514
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
515
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
516
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
517
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
518
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
519
- "\n",
520
- "Textual inversion embeddings loaded(16): angry512, defiance512, easynegative, grin512, happy512, laugh512, no_3D, no_Asian, no_BadAnatomy, no_Badhand, no_BadPhotoRealism, no_BadQuality, no_Sketch, sad512, shock512, smile512\n",
521
- "Model loaded in 34.0s (load weights from disk: 1.5s, create model: 0.8s, apply weights to model: 19.8s, apply half(): 1.2s, load VAE: 9.7s, move model to device: 0.9s).\n",
522
- "Error loading embedding ._grin512.pt:\n",
523
- "Traceback (most recent call last):\n",
524
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
525
- " self.load_from_file(fullfn, fn)\n",
526
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
527
- " data = torch.load(path, map_location=\"cpu\")\n",
528
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
529
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
530
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
531
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
532
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
533
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
534
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
535
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
536
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
537
- "\n",
538
- "Error loading embedding ._easynegative.pt:\n",
539
- "Traceback (most recent call last):\n",
540
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
541
- " self.load_from_file(fullfn, fn)\n",
542
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
543
- " data = torch.load(path, map_location=\"cpu\")\n",
544
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
545
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
546
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
547
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
548
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
549
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
550
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
551
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
552
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
553
- "\n",
554
- "Error loading embedding ._no_Badhand.pt:\n",
555
- "Traceback (most recent call last):\n",
556
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
557
- " self.load_from_file(fullfn, fn)\n",
558
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
559
- " data = torch.load(path, map_location=\"cpu\")\n",
560
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
561
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
562
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
563
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
564
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
565
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
566
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
567
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
568
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
569
- "\n",
570
- "Error loading embedding ._defiance512.pt:\n",
571
- "Traceback (most recent call last):\n",
572
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
573
- " self.load_from_file(fullfn, fn)\n",
574
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
575
- " data = torch.load(path, map_location=\"cpu\")\n",
576
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
577
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
578
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
579
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
580
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
581
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
582
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
583
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
584
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
585
- "\n",
586
- "Error loading embedding ._no_BadAnatomy.pt:\n",
587
- "Traceback (most recent call last):\n",
588
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
589
- " self.load_from_file(fullfn, fn)\n",
590
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
591
- " data = torch.load(path, map_location=\"cpu\")\n",
592
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
593
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
594
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
595
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
596
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
597
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
598
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
599
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
600
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
601
- "\n",
602
- "Error loading embedding ._no_Sketch.bin:\n",
603
- "Traceback (most recent call last):\n",
604
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
605
- " self.load_from_file(fullfn, fn)\n",
606
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
607
- " data = torch.load(path, map_location=\"cpu\")\n",
608
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
609
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
610
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
611
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
612
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
613
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
614
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
615
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
616
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
617
- "\n",
618
- "Error loading embedding ._sad512.pt:\n",
619
- "Traceback (most recent call last):\n",
620
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
621
- " self.load_from_file(fullfn, fn)\n",
622
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
623
- " data = torch.load(path, map_location=\"cpu\")\n",
624
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
625
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
626
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
627
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
628
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
629
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
630
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
631
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
632
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
633
- "\n",
634
- "Error loading embedding ._happy512.pt:\n",
635
- "Traceback (most recent call last):\n",
636
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
637
- " self.load_from_file(fullfn, fn)\n",
638
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
639
- " data = torch.load(path, map_location=\"cpu\")\n",
640
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
641
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
642
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
643
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
644
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
645
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
646
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
647
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
648
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
649
- "\n",
650
- "Error loading embedding ._shock512.pt:\n",
651
- "Traceback (most recent call last):\n",
652
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
653
- " self.load_from_file(fullfn, fn)\n",
654
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
655
- " data = torch.load(path, map_location=\"cpu\")\n",
656
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
657
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
658
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
659
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
660
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
661
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
662
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
663
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
664
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
665
- "\n",
666
- "Error loading embedding ._angry512.pt:\n",
667
- "Traceback (most recent call last):\n",
668
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
669
- " self.load_from_file(fullfn, fn)\n",
670
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
671
- " data = torch.load(path, map_location=\"cpu\")\n",
672
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
673
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
674
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
675
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
676
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
677
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
678
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
679
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
680
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
681
- "\n",
682
- "Error loading embedding ._laugh512.pt:\n",
683
- "Traceback (most recent call last):\n",
684
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
685
- " self.load_from_file(fullfn, fn)\n",
686
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
687
- " data = torch.load(path, map_location=\"cpu\")\n",
688
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
689
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
690
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
691
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
692
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
693
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
694
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
695
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
696
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
697
- "\n",
698
- "Error loading embedding ._smile512.pt:\n",
699
- "Traceback (most recent call last):\n",
700
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
701
- " self.load_from_file(fullfn, fn)\n",
702
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
703
- " data = torch.load(path, map_location=\"cpu\")\n",
704
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
705
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
706
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
707
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
708
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
709
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
710
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
711
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
712
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
713
- "\n",
714
- "Error loading embedding ._no_BadQuality.pt:\n",
715
- "Traceback (most recent call last):\n",
716
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
717
- " self.load_from_file(fullfn, fn)\n",
718
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
719
- " data = torch.load(path, map_location=\"cpu\")\n",
720
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
721
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
722
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
723
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
724
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
725
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
726
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
727
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
728
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
729
- "\n",
730
- "Error loading embedding ._no_Asian.pt:\n",
731
- "Traceback (most recent call last):\n",
732
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
733
- " self.load_from_file(fullfn, fn)\n",
734
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
735
- " data = torch.load(path, map_location=\"cpu\")\n",
736
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
737
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
738
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
739
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
740
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
741
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
742
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
743
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
744
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
745
- "\n",
746
- "Error loading embedding ._no_3D.pt:\n",
747
- "Traceback (most recent call last):\n",
748
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
749
- " self.load_from_file(fullfn, fn)\n",
750
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
751
- " data = torch.load(path, map_location=\"cpu\")\n",
752
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
753
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
754
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
755
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
756
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
757
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
758
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
759
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
760
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
761
- "\n",
762
- "Error loading embedding ._no_BadPhotoRealism.pt:\n",
763
- "Traceback (most recent call last):\n",
764
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 210, in load_from_dir\n",
765
- " self.load_from_file(fullfn, fn)\n",
766
- " File \"/content/sd/modules/textual_inversion/textual_inversion.py\", line 161, in load_from_file\n",
767
- " data = torch.load(path, map_location=\"cpu\")\n",
768
- " File \"/content/sd/modules/safe.py\", line 107, in load\n",
769
- " return load_with_extra(filename, extra_handler=global_extra_handler, *args, **kwargs)\n",
770
- " File \"/content/sd/modules/safe.py\", line 152, in load_with_extra\n",
771
- " return unsafe_torch_load(filename, *args, **kwargs)\n",
772
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 815, in load\n",
773
- " return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)\n",
774
- " File \"/usr/local/lib/python3.10/dist-packages/torch/serialization.py\", line 1033, in _legacy_load\n",
775
- " magic_number = pickle_module.load(f, **pickle_load_args)\n",
776
- "_pickle.UnpicklingError: invalid load key, '\\x00'.\n",
777
- "\n",
778
- " 0% 0/20 [00:00<?, ?it/s]\n",
779
- " 5% 1/20 [00:04<01:26, 4.56s/it]\n",
780
- " 15% 3/20 [00:04<00:19, 1.14s/it]\n",
781
- " 20% 4/20 [00:05<00:12, 1.32it/s]\n",
782
- " 25% 5/20 [00:05<00:08, 1.85it/s]\n",
783
- " 30% 6/20 [00:05<00:05, 2.43it/s]\n",
784
- " 35% 7/20 [00:05<00:04, 3.02it/s]\n",
785
- " 40% 8/20 [00:05<00:03, 3.61it/s]\n",
786
- " 45% 9/20 [00:05<00:02, 4.16it/s]\n",
787
- " 50% 10/20 [00:06<00:02, 4.64it/s]\n",
788
- " 55% 11/20 [00:06<00:01, 5.02it/s]\n",
789
- " 60% 12/20 [00:06<00:01, 5.33it/s]\n",
790
- " 65% 13/20 [00:06<00:01, 5.54it/s]\n",
791
- " 70% 14/20 [00:06<00:01, 5.72it/s]\n",
792
- " 75% 15/20 [00:06<00:00, 5.85it/s]\n",
793
- " 80% 16/20 [00:06<00:00, 5.95it/s]\n",
794
- " 85% 17/20 [00:07<00:00, 6.02it/s]\n",
795
- " 90% 18/20 [00:07<00:00, 6.06it/s]\n",
796
- " 95% 19/20 [00:07<00:00, 5.96it/s]\n",
797
- "100% 20/20 [00:07<00:00, 2.62it/s]\n",
798
- "\n",
799
- "Total progress: 100% 20/20 [00:11<00:00, 1.70it/s]\n"
800
- ]
801
- }
802
- ]
803
- }
804
- ],
805
- "metadata": {
806
- "colab": {
807
- "provenance": [],
808
- "gpuType": "T4"
809
- },
810
- "kernelspec": {
811
- "display_name": "Python 3",
812
- "name": "python3"
813
- },
814
- "language_info": {
815
- "name": "python"
816
- },
817
- "accelerator": "GPU"
818
- },
819
- "nbformat": 4,
820
- "nbformat_minor": 0
821
- }