Getting errors with embedding
This is what I get
Error verifying pickled file from C:\Users\User\stable-diffusion-webui\embeddings\AnimeScreenCap.pt:
Traceback (most recent call last):
File "C:\Users\User\stable-diffusion-webui\modules\safe.py", line 81, in check_pt
with zipfile.ZipFile(filename) as z:
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1267, in init
self._RealGetContents()
File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\zipfile.py", line 1334, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\User\stable-diffusion-webui\modules\safe.py", line 135, in load_with_extra
check_pt(filename, extra_handler)
File "C:\Users\Derek\stable-diffusion-webui\modules\safe.py", line 102, in check_pt
unpickler.load()
_pickle.UnpicklingError: invalid load key, '<'.
-----> !!!! The file is most likely corrupted !!!! <-----
You can skip this check with --disable-safe-unpickle commandline argument, but that is not going to help you.
Error loading emedding AnimeScreenCap.pt:
Traceback (most recent call last):
File "C:\Users\Derek\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 134, in load_textual_inversion_embeddings
process_file(fullfn, fn)
File "C:\Users\Derek\stable-diffusion-webui\modules\textual_inversion\textual_inversion.py", line 104, in process_file
if 'string_to_param' in data:
TypeError: argument of type 'NoneType' is not iterable
I have a 100% fresh install. I feel dumb lol
Is this when you start the .bat file or when trying to use the embedding in a prompt? This is a weird error, given that it's a simple file that shouldnt really trigger the safety check for an unpickle command.
Are you using the GUI from Automatic1111, it might be another install has different requirements to use an embedding.