Could you provide a. pt file?

#1
by toynya - opened

The webui version is too low. There was an error reading Easy Negative.safetensors.
Error verifying pickled file from /content/stable-diffusion-webui/embeddings/EasyNegative.safetensors:
Traceback (most recent call last):
File "/content/stable-diffusion-webui/extensions/sd_dreambooth_extension/reallysafe.py", line 92, in check_pt
with zipfile.ZipFile(filename) as z:
File "/usr/lib/python3.8/zipfile.py", line 1269, in init
self._RealGetContents()
File "/usr/lib/python3.8/zipfile.py", line 1336, 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 "/content/stable-diffusion-webui/extensions/sd_dreambooth_extension/reallysafe.py", line 146, in load_with_extra
check_pt(filename, extra_handler)
File "/content/stable-diffusion-webui/extensions/sd_dreambooth_extension/reallysafe.py", line 113, 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 EasyNegative.safetensors:
Traceback (most recent call last):
File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 134, in load_textual_inversion_embeddings
process_file(fullfn, fn)
File "/content/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

deleted

Hello @toynya ,

I have submitted a request to have a pt version added, you can find the request at https://huggingface.co/datasets/gsdf/EasyNegative/discussions/4 along with a link to the branch that contains it so you can download it sooner.

deleted

@toynya

My request has been merged, so now you can find the pt version in the main branch.

Sign up or log in to comment