AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.54k stars 27.02k forks source link

[Bug]: sdxl embedding Error loaind #12160

Closed Mr-small-2-six closed 1 year ago

Mr-small-2-six commented 1 year ago

Is there an existing issue for this?

What happened?

sdxl g embedding Error loaind

Steps to reproduce the problem

100%|██████████████████████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.72it/s] Total progress: 100%|██████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.69it/s] *** Error loading embedding negativeXL_A.safetensors███████████████████████████████████| 28/28 [00:16<00:00, 1.78it/s] Traceback (most recent call last): File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir self.load_from_file(fullfn, fn) File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file assert len(data.keys()) == 1, 'embedding file has multiple terms in it' AssertionError: embedding file has multiple terms in it


*** Error loading embedding negativeXL_A.safetensors Traceback (most recent call last): File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir self.load_from_file(fullfn, fn) File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file assert len(data.keys()) == 1, 'embedding file has multiple terms in it' AssertionError: embedding file has multiple terms in it


100%|██████████████████████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.72it/s] Total progress: 100%|██████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.71it/s] Total progress: 100%|█████████████*** Error loading embedding negativeXL_A.safetensors█| 28/28 [00:16<00:00, 1.90it/s] Traceback (most recent call last): File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir self.load_from_file(fullfn, fn) File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file assert len(data.keys()) == 1, 'embedding file has multiple terms in it' AssertionError: embedding file has multiple terms in it


What should have happened?

can load

Version or Commit where the problem happens

4635694aa3

What Python version are you running on ?

Python 3.10.x

What platforms do you use to access the UI ?

Windows

What device are you running WebUI on?

Nvidia GPUs (RTX 20 above)

Cross attention optimization

Automatic

What browsers do you use to access the UI ?

No response

Command Line Arguments

100%|██████████████████████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00,  1.72it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00,  1.69it/s]
*** Error loading embedding negativeXL_A.safetensors███████████████████████████████████| 28/28 [00:16<00:00,  1.78it/s]
    Traceback (most recent call last):
      File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir
        self.load_from_file(fullfn, fn)
      File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file
        assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
    AssertionError: embedding file has multiple terms in it

---
*** Error loading embedding negativeXL_A.safetensors
    Traceback (most recent call last):
      File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir
        self.load_from_file(fullfn, fn)
      File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file
        assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
    AssertionError: embedding file has multiple terms in it

---
100%|██████████████████████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00,  1.72it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00,  1.71it/s]
Total progress: 100%|█████████████*** Error loading embedding negativeXL_A.safetensors█| 28/28 [00:16<00:00,  1.90it/s]
    Traceback (most recent call last):
      File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir
        self.load_from_file(fullfn, fn)
      File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file
        assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
    AssertionError: embedding file has multiple terms in it

---

List of extensions

擴充 | 網址 | Branch | Version | Date | 更新 -- | -- | -- | -- | -- | -- DreamArtist-sd-webui-extension | https://github.com/7eu7d7/DreamArtist-sd-webui-extension.git | master | a9db06d8 | Mon Jan 16 07:30:08 2023 | 未知 PBRemTools | https://github.com/mattyamonaca/PBRemTools.git | main | 6abc712c | Mon Apr 24 14:43:04 2023 | 未知 SD-CN-Animation | https://github.com/volotat/SD-CN-Animation.git | main | 2e257bbf | Tue May 30 16:49:03 2023 | 未知 Stable-Diffusion-Webui-Prompt-Translator | https://github.com/butaixianran/Stable-Diffusion-Webui-Prompt-Translator | main | 5bb3e4ee | Sun Mar 5 22:03:54 2023 | 未知 a1111-sd-webui-lycoris | https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git | main | 8e97bf54 | Sun Jul 9 07:44:58 2023 | 未知 標記自動補全 | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git | main | 737b6973 | Sat Jul 8 16:03:44 2023 | 未知 adetailer | https://github.com/Bing-su/adetailer.git | main | b040a628 | Thu Jul 20 02:01:32 2023 | 未知 animator_extension | https://github.com/Animator-Anon/animator_extension.git | main | 27ce31b0 | Tue Jun 20 19:51:39 2023 | 未知 batch-face-swap | https://github.com/kex0/batch-face-swap.git | main | 1accdc7c | Thu Jan 26 21:06:10 2023 | 未知 Deforum | https://github.com/deforum-art/deforum-for-automatic1111-webui.git | automatic1111-webui | 858c4dd6 | Sun Jul 2 16:52:11 2023 | 未知 ebsynth_utility | https://github.com/s9roll7/ebsynth_utility.git | main | 44c18e0e | Wed May 31 07:02:22 2023 | 未知 embedding-inspector | https://github.com/tkalayci71/embedding-inspector.git | main | 5489015b | Fri Jan 13 15:01:47 2023 | 未知 gif2gif | https://github.com/LonicaMewinsky/gif2gif.git | main | 5121851e | Sat May 13 14:56:04 2023 | 未知 infinite-zoom-automatic1111-webui | https://github.com/v8hid/infinite-zoom-automatic1111-webui.git | main | f8ad3173 | Fri Apr 14 14:55:03 2023 | 未知 multidiffusion-upscaler-for-automatic1111 | https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git | main | f9f8073e | Sat Jul 22 06:53:11 2023 | 未知 openpose-editor | https://github.com/fkunn1326/openpose-editor.git | master | 722bca6f | Sat Jun 3 04:54:52 2023 | 未知 sd-dynamic-prompts | https://github.com/adieyal/sd-dynamic-prompts.git | main | 26ce66bb | Tue Jul 18 17:52:11 2023 | 未知 sd-dynamic-thresholding | https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git | master | f02cacfc | Mon May 22 14:20:30 2023 | 未知 sd-extension-steps-animation | https://github.com/vladmandic/sd-extension-steps-animation | main | 522d193e | Mon Jan 30 14:59:38 2023 | 未知 sd-webui-additional-networks | https://github.com/kohya-ss/sd-webui-additional-networks.git | main | 1fac0c35 | Wed Mar 29 23:50:38 2023 | 未知 sd-webui-ar | https://github.com/alemelis/sd-webui-ar.git | main | 04ee2c6c | Thu Jul 6 10:14:29 2023 | 未知 sd-webui-bilingual-localization | https://github.com/journey-ad/sd-webui-bilingual-localization.git | main | 89a02280 | Thu Apr 27 03:54:25 2023 | 未知 sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet.git | main | 8063252c | Fri Jul 21 19:32:01 2023 | 未知 sd-webui-infinite-image-browsing | https://github.com/zanllp/sd-webui-infinite-image-browsing.git | main | 478409de | Sat Jul 22 12:17:37 2023 | 未知 sd-webui-multiple-hypernetworks | https://github.com/antis0007/sd-webui-multiple-hypernetworks.git | main | dc37ce84 | Tue Jan 10 06:48:35 2023 | 未知 sd-webui-regional-prompter | https://github.com/hako-mikan/sd-webui-regional-prompter.git | main | f3e92c21 | Tue May 2 17:13:02 2023 | 未知 sd-webui-roop | https://github.com/s0md3v/sd-webui-roop.git | main | e6333fbe | Fri Jul 7 09:22:59 2023 | 未知 sd-webui-stablesr | https://github.com/pkuliyi2015/sd-webui-stablesr.git | master | 4499d796 | Sat Jul 1 16:38:32 2023 | 未知 sdweb-clip-changer | https://github.com/bbc-mc/sdweb-clip-changer.git | master | fecdf96d | Tue Jun 6 11:29:17 2023 | 未知 stable-diffusion-webui-Prompt_Generator | https://github.com/imrayya/stable-diffusion-webui-Prompt_Generator | master | 31ec0833 | Mon May 8 11:29:45 2023 | 未知 美術風格評等 | https://github.com/tsngo/stable-diffusion-webui-aesthetic-image-scorer.git | main | 1c3ab7a1 | Sun Dec 11 05:52:39 2022 | 未知 stable-diffusion-webui-composable-lora | https://github.com/opparco/stable-diffusion-webui-composable-lora.git | main | d4963e48 | Mon Feb 27 17:40:08 2023 | 未知 資料集標記編輯器 | https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor | main | 7a2f4c53 | Mon Jun 5 10:12:00 2023 | 未知 stable-diffusion-webui-embedding-editor | https://github.com/CodeExplode/stable-diffusion-webui-embedding-editor.git | main | c8f29023 | Sun Dec 4 04:55:54 2022 | 未知 stable-diffusion-webui-promptgen | https://github.com/AUTOMATIC1111/stable-diffusion-webui-promptgen.git | master | 84e58b5d | Fri Jan 20 11:15:12 2023 | 未知 stable-diffusion-webui-rembg | https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git | master | 3d9eedbb | Sun Jun 4 13:35:24 2023 | 未知 stable-diffusion-webui-two-shot | https://github.com/opparco/stable-diffusion-webui-two-shot.git | main | 9936c52e | Sun Feb 19 08:40:41 2023 | 未知 stable-diffusion-webui-wd14-tagger | https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git | master | 99bf7d81 | Mon Jul 17 17:44:24 2023 | 未知 stable-diffusion-webui-zoomimage | https://github.com/viyiviyi/stable-diffusion-webui-zoomimage.git | main | c8919a49 | Sun Jul 16 14:21:16 2023 | 未知 ultimate-upscale-for-automatic1111 | https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git | master | c99f382b | Tue Jun 13 04:29:35 2023 | 未知 video_loopback_for_webui | https://github.com/fishslot/video_loopback_for_webui | main | e1390f53 | Mon Feb 27 15:18:18 2023 | 未知 LDSR | built-in | 無 |   | Sat Jul 29 12:11:14 2023 |   Lora | built-in | 無 |   | Sat Jul 29 12:11:14 2023 |   ScuNET | built-in | 無 |   | Sat Jul 29 12:11:14 2023 |   SwinIR | built-in | 無 |   | Sat Jul 29 12:11:14 2023 |   canvas-zoom-and-pan | built-in | 無 |   | Sat Jul 29 12:11:14 2023 |   extra-options-section | built-in | 無 |   | Sat Jul 29 12:11:14 2023 |   mobile | built-in | 無 |   | Sat Jul 29 12:11:14 2023 |   prompt-bracket-checker | built-in 擴充 網址 Branch Version Date 更新 DreamArtist-sd-webui-extension https://github.com/7eu7d7/DreamArtist-sd-webui-extension.git master [a9db06d8](https://github.com/7eu7d7/DreamArtist-sd-webui-extension/commit/a9db06d8437d9f2de707e13da68a3c7358bd2d32) Mon Jan 16 07:30:08 2023 未知 PBRemTools https://github.com/mattyamonaca/PBRemTools.git main [6abc712c](https://github.com/mattyamonaca/PBRemTools/commit/6abc712c0a49456edf6d70c96b86529acaa2ce68) Mon Apr 24 14:43:04 2023 未知 SD-CN-Animation https://github.com/volotat/SD-CN-Animation.git main [2e257bbf](https://github.com/volotat/SD-CN-Animation/commit/2e257bbfc3b76fb1323f7b22f820981c1b9f56b2) Tue May 30 16:49:03 2023 未知 Stable-Diffusion-Webui-Prompt-Translator https://github.com/butaixianran/Stable-Diffusion-Webui-Prompt-Translator main [5bb3e4ee](https://github.com/butaixianran/Stable-Diffusion-Webui-Prompt-Translator/commit/5bb3e4ee07bf113a1f015ae6917e31c68b1b6c45) Sun Mar 5 22:03:54 2023 未知 a1111-sd-webui-lycoris https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris.git main [8e97bf54](https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris/commit/8e97bf54867c25d00fc480be1ab4dae5399b35ef) Sun Jul 9 07:44:58 2023 未知 標記自動補全 https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git main [737b6973](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete/commit/737b697357af06eb2edb392a5b82d98f6e726637) Sat Jul 8 16:03:44 2023 未知 adetailer https://github.com/Bing-su/adetailer.git main [b040a628](https://github.com/Bing-su/adetailer/commit/b040a628dc1501a4c8d5b17423d96c77ef15f72e) Thu Jul 20 02:01:32 2023 未知 animator_extension https://github.com/Animator-Anon/animator_extension.git main [27ce31b0](https://github.com/Animator-Anon/animator_extension/commit/27ce31b0d34820d7e1bf74b22c07f2885d52ffc3) Tue Jun 20 19:51:39 2023 未知 batch-face-swap https://github.com/kex0/batch-face-swap.git main [1accdc7c](https://github.com/kex0/batch-face-swap/commit/1accdc7c4ff4627338a1d5f5be81c096bfb7852d) Thu Jan 26 21:06:10 2023 未知 Deforum https://github.com/deforum-art/deforum-for-automatic1111-webui.git automatic1111-webui [858c4dd6](https://github.com/deforum-art/deforum-for-automatic1111-webui/commit/858c4dd6fd030449c23882724c67ee9398b4fd05) Sun Jul 2 16:52:11 2023 未知 ebsynth_utility https://github.com/s9roll7/ebsynth_utility.git main [44c18e0e](https://github.com/s9roll7/ebsynth_utility/commit/44c18e0ebf398e04cd318878f8fc5674950af809) Wed May 31 07:02:22 2023 未知 embedding-inspector https://github.com/tkalayci71/embedding-inspector.git main [5489015b](https://github.com/tkalayci71/embedding-inspector/commit/5489015b73160c2a7083a8403c1be7adae797bc2) Fri Jan 13 15:01:47 2023 未知 gif2gif https://github.com/LonicaMewinsky/gif2gif.git main [5121851e](https://github.com/LonicaMewinsky/gif2gif/commit/5121851e3941c420253f3a20a0f8e49bed86f0bb) Sat May 13 14:56:04 2023 未知 infinite-zoom-automatic1111-webui https://github.com/v8hid/infinite-zoom-automatic1111-webui.git main [f8ad3173](https://github.com/v8hid/infinite-zoom-automatic1111-webui/commit/f8ad317347bf12c6c96ab57df95dea21a7f145e7) Fri Apr 14 14:55:03 2023 未知 multidiffusion-upscaler-for-automatic1111 https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git main [f9f8073e](https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111/commit/f9f8073e64f4e682838f255215039ba7884553bf) Sat Jul 22 06:53:11 2023 未知 openpose-editor https://github.com/fkunn1326/openpose-editor.git master [722bca6f](https://github.com/fkunn1326/openpose-editor/commit/722bca6fb9b062815d13b950e7040589abaec797) Sat Jun 3 04:54:52 2023 未知 sd-dynamic-prompts https://github.com/adieyal/sd-dynamic-prompts.git main [26ce66bb](https://github.com/adieyal/sd-dynamic-prompts/commit/26ce66bbac7a4c5c34d250d45c2327807fad148f) Tue Jul 18 17:52:11 2023 未知 sd-dynamic-thresholding https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git master [f02cacfc](https://github.com/mcmonkeyprojects/sd-dynamic-thresholding/commit/f02cacfc923e8bbf73f25327d722d50c458d66bb) Mon May 22 14:20:30 2023 未知 sd-extension-steps-animation https://github.com/vladmandic/sd-extension-steps-animation main [522d193e](https://github.com/vladmandic/sd-extension-steps-animation/commit/522d193ea7f1a6c464991c52970f98b09efe7289) Mon Jan 30 14:59:38 2023 未知 sd-webui-additional-networks https://github.com/kohya-ss/sd-webui-additional-networks.git main [1fac0c35](https://github.com/kohya-ss/sd-webui-additional-networks/commit/1fac0c35bddedfc701fd0ff348c374f967f9e794) Wed Mar 29 23:50:38 2023 未知 sd-webui-ar https://github.com/alemelis/sd-webui-ar.git main [04ee2c6c](https://github.com/alemelis/sd-webui-ar/commit/04ee2c6c60ca4534ab7f2d22518a3c5d2001fe83) Thu Jul 6 10:14:29 2023 未知 sd-webui-bilingual-localization https://github.com/journey-ad/sd-webui-bilingual-localization.git main [89a02280](https://github.com/journey-ad/sd-webui-bilingual-localization/commit/89a02280507627dc40b5d7562691d1f03208f152) Thu Apr 27 03:54:25 2023 未知 sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet.git main [8063252c](https://github.com/Mikubill/sd-webui-controlnet/commit/8063252cf5c1ddac5c91135e448b9aea7cf3c871) Fri Jul 21 19:32:01 2023 未知 sd-webui-infinite-image-browsing https://github.com/zanllp/sd-webui-infinite-image-browsing.git main [478409de](https://github.com/zanllp/sd-webui-infinite-image-browsing/commit/478409dee887cd76cbb285929b089ef134ad53bc) Sat Jul 22 12:17:37 2023 未知 sd-webui-multiple-hypernetworks https://github.com/antis0007/sd-webui-multiple-hypernetworks.git main [dc37ce84](https://github.com/antis0007/sd-webui-multiple-hypernetworks/commit/dc37ce840b0fc285698963481ba65b8ce7db3d41) Tue Jan 10 06:48:35 2023 未知 sd-webui-regional-prompter https://github.com/hako-mikan/sd-webui-regional-prompter.git main [f3e92c21](https://github.com/hako-mikan/sd-webui-regional-prompter/commit/f3e92c21644e137c84118e82e0625719ce79cef4) Tue May 2 17:13:02 2023 未知 sd-webui-roop https://github.com/s0md3v/sd-webui-roop.git main [e6333fbe](https://github.com/s0md3v/sd-webui-roop/commit/e6333fbe5a0f3e6a515852388151f1db2315c45d) Fri Jul 7 09:22:59 2023 未知 sd-webui-stablesr https://github.com/pkuliyi2015/sd-webui-stablesr.git master [4499d796](https://github.com/pkuliyi2015/sd-webui-stablesr/commit/4499d79649e54ca27b196e8e55a65d2a64a1b75c) Sat Jul 1 16:38:32 2023 未知 sdweb-clip-changer https://github.com/bbc-mc/sdweb-clip-changer.git master [fecdf96d](https://github.com/bbc-mc/sdweb-clip-changer/commit/fecdf96dd3d566172917b6bd09e3c1a0a19d023e) Tue Jun 6 11:29:17 2023 未知 stable-diffusion-webui-Prompt_Generator https://github.com/imrayya/stable-diffusion-webui-Prompt_Generator master [31ec0833](https://github.com/imrayya/stable-diffusion-webui-Prompt_Generator/commit/31ec08338b2224432304fb90c459efc9b43a52b3) Mon May 8 11:29:45 2023 未知 美術風格評等 https://github.com/tsngo/stable-diffusion-webui-aesthetic-image-scorer.git main [1c3ab7a1](https://github.com/tsngo/stable-diffusion-webui-aesthetic-image-scorer/commit/1c3ab7a116ab5bc3b81d718e6383edd98903a01f) Sun Dec 11 05:52:39 2022 未知 stable-diffusion-webui-composable-lora https://github.com/opparco/stable-diffusion-webui-composable-lora.git main [d4963e48](https://github.com/opparco/stable-diffusion-webui-composable-lora/commit/d4963e487c55e2adb292fa2021fa5c05bf169a7d) Mon Feb 27 17:40:08 2023 未知 資料集標記編輯器 https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor main [7a2f4c53](https://github.com/toshiaki1729/stable-diffusion-webui-dataset-tag-editor/commit/7a2f4c53fbce62b2bda3b220381985b75fdd6390) Mon Jun 5 10:12:00 2023 未知 stable-diffusion-webui-embedding-editor https://github.com/CodeExplode/stable-diffusion-webui-embedding-editor.git main [c8f29023](https://github.com/CodeExplode/stable-diffusion-webui-embedding-editor/commit/c8f290230f9360729abc3a3a57fe1befc2d43b23) Sun Dec 4 04:55:54 2022 未知 stable-diffusion-webui-promptgen https://github.com/AUTOMATIC1111/stable-diffusion-webui-promptgen.git master [84e58b5d](https://github.com/AUTOMATIC1111/stable-diffusion-webui-promptgen/commit/84e58b5d655c6e6b140af2c3fd2f49a398e666f2) Fri Jan 20 11:15:12 2023 未知 stable-diffusion-webui-rembg https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git master [3d9eedbb](https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/commit/3d9eedbbf0d585207f97d5b21e42f32c0042df70) Sun Jun 4 13:35:24 2023 未知 stable-diffusion-webui-two-shot https://github.com/opparco/stable-diffusion-webui-two-shot.git main [9936c52e](https://github.com/opparco/stable-diffusion-webui-two-shot/commit/9936c52eba04da7f0c009051ab03a60e72d4f7e6) Sun Feb 19 08:40:41 2023 未知 stable-diffusion-webui-wd14-tagger https://github.com/toriato/stable-diffusion-webui-wd14-tagger.git master [99bf7d81](https://github.com/toriato/stable-diffusion-webui-wd14-tagger/commit/99bf7d8132cb757edbcdfaad654f31f32f3500a5) Mon Jul 17 17:44:24 2023 未知 stable-diffusion-webui-zoomimage https://github.com/viyiviyi/stable-diffusion-webui-zoomimage.git main [c8919a49](https://github.com/viyiviyi/stable-diffusion-webui-zoomimage/commit/c8919a499afcf643617b796854723aee6d4aedc9) Sun Jul 16 14:21:16 2023 未知 ultimate-upscale-for-automatic1111 https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git master [c99f382b](https://github.com/Coyote-A/ultimate-upscale-for-automatic1111/commit/c99f382b31509b87b4d512e70e9caf08ae7a079f) Tue Jun 13 04:29:35 2023 未知 video_loopback_for_webui https://github.com/fishslot/video_loopback_for_webui main [e1390f53](https://github.com/fishslot/video_loopback_for_webui/commit/e1390f534321acc04a25e56c1f85a9a861dfb97c) Mon Feb 27 15:18:18 2023 未知 LDSR [built-in](http://127.0.0.1:7860/?__theme=dark) 無 Sat Jul 29 12:11:14 2023 Lora [built-in](http://127.0.0.1:7860/?__theme=dark) 無 Sat Jul 29 12:11:14 2023 ScuNET [built-in](http://127.0.0.1:7860/?__theme=dark) 無 Sat Jul 29 12:11:14 2023 SwinIR [built-in](http://127.0.0.1:7860/?__theme=dark) 無 Sat Jul 29 12:11:14 2023 canvas-zoom-and-pan [built-in](http://127.0.0.1:7860/?__theme=dark) 無 Sat Jul 29 12:11:14 2023 extra-options-section [built-in](http://127.0.0.1:7860/?__theme=dark) 無 Sat Jul 29 12:11:14 2023 mobile [built-in](http://127.0.0.1:7860/?__theme=dark) 無 Sat Jul 29 12:11:14 2023 prompt-bracket-checker [built-in](http://127.0.0.1:7860/?__theme=dark) ### Console logs ```Shell 100%|██████████████████████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.72it/s] Total progress: 100%|██████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.69it/s] *** Error loading embedding negativeXL_A.safetensors███████████████████████████████████| 28/28 [00:16<00:00, 1.78it/s] Traceback (most recent call last): File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir self.load_from_file(fullfn, fn) File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file assert len(data.keys()) == 1, 'embedding file has multiple terms in it' AssertionError: embedding file has multiple terms in it --- *** Error loading embedding negativeXL_A.safetensors Traceback (most recent call last): File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir self.load_from_file(fullfn, fn) File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file assert len(data.keys()) == 1, 'embedding file has multiple terms in it' AssertionError: embedding file has multiple terms in it --- 100%|██████████████████████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.72it/s] Total progress: 100%|██████████████████████████████████████████████████████████████████| 28/28 [00:16<00:00, 1.71it/s] Total progress: 100%|█████████████*** Error loading embedding negativeXL_A.safetensors█| 28/28 [00:16<00:00, 1.90it/s] Traceback (most recent call last): File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 227, in load_from_dir self.load_from_file(fullfn, fn) File "G:\ai3\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 192, in load_from_file assert len(data.keys()) == 1, 'embedding file has multiple terms in it' AssertionError: embedding file has multiple terms in it --- ``` ### Additional information _No response_
sadsilly commented 1 year ago

i have this problem to. i do not know what causes. embedding file has multiple terms in it

UXVirtual commented 1 year ago

Also experiencing this same issue on Automatic1111 v1.5.1 running on Python 3.10.6. Using these arguments to launch the Web UI:

--listen --theme dark --medvram --opt-channelslast --upcast-sampling --opt-sdp-attention --xformers --no-half-vae --lyco-dir Y:\stable-diffusion-webui\models\LyCORIS_SDXL1.0 --vae-path Y:\stable-diffusion-webui\models\Stable-diffusion\SDXL\sdXL_v10.vae.safetensors

I don't have a clean install of Automatic1111, but I am also running the following extensions:

Everything else is mostly stock apart from some presets and civitai extensions.

Could having SD1.5 Textual Inversion embeddings in the embeddings folder also cause this? I noticed that many of my SD1.5 embeddings don't load when this error is hit (it likely blocks the load process in the Extra Networks UI panel so only a subset of embeddings, loras etc load)

rodneyviana commented 1 year ago

Same problem here. I tried with all existing 3 textual inversions on Civitai. People also reported that those inversions work in ComfUI.

paolodalprato commented 1 year ago

Same here. And also if I disable all extensions

catboxanon commented 1 year ago

SDXL textual inversion embeddings are only supported on the dev branch currently (aka upcoming 1.6.0 version).

catboxanon commented 1 year ago

Going to close this as I mentioned above it is already resolved on the dev branch and will be part of the next release.