整合包和huggingface的模型都试过,都会报这样的错误,可能是什么原因导致,有什么好的解决方法(除了添加--disable-safe-unpickle参数以外),在GPU租赁平台上无法添加--disable-safe-unpickle参数运行
` Loading weights from local directory
*** Error verifying pickled file from /root/stable-diffusion-webui/extensions/IC-Light-SD-WebUI/models/rmbg/pytorch_model.bin
*** The file may be malicious, so the program is not going to read it.
*** You can skip this check with --disable-safe-unpickle commandline argument.
Traceback (most recent call last):
File "/root/stable-diffusion-webui/modules/safe.py", line 137, in load_with_extra
check_pt(filename, extra_handler)
File "/root/stable-diffusion-webui/modules/safe.py", line 84, in check_pt
check_zip_filenames(filename, z.namelist())
File "/root/stable-diffusion-webui/modules/safe.py", line 76, in check_zip_filenames
raise Exception(f"bad file inside {filename}: {name}")
Exception: bad file inside /root/stable-diffusion-webui/extensions/IC-Light-SD-WebUI/models/rmbg/pytorch_model.bin: pytorch_model/byteorder`
整合包和huggingface的模型都试过,都会报这样的错误,可能是什么原因导致,有什么好的解决方法(除了添加--disable-safe-unpickle参数以外),在GPU租赁平台上无法添加--disable-safe-unpickle参数运行
` Loading weights from local directory
*** Error verifying pickled file from /root/stable-diffusion-webui/extensions/IC-Light-SD-WebUI/models/rmbg/pytorch_model.bin
*** The file may be malicious, so the program is not going to read it.
*** You can skip this check with --disable-safe-unpickle commandline argument.