Replies: 3 comments 3 replies
-
Wrong place for this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I know this was the wrong place for this but I am having the same problem and am wondering if anyone has fixed this issue? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beware of its license. I will never use 4x-Ultrasharp, because the license of 4x-Ultrasharp is for NON-commercial, and attribution is legally required. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I have been trying to get this 4x-ultrasharp ESRGAN upscaler to work in this fork of stable-difussion-webui-ux, and keep getting the following error -
Traceback (most recent call last):
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/safe.py", line 135, in load_with_extra
check_pt(filename, extra_handler)
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/safe.py", line 102, in check_pt
unpickler.load()
_pickle.UnpicklingError: invalid load key, '\x08'.
-----> !!!! 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 completing request
Arguments: (0, <PIL.Image.Image image mode=RGB size=512x512 at 0x7FAB237360B0>, None, '', '', True, 0, 2, 512, 512, True, '4x-UltraSharp', 'None', 0, 0, 0, 0) {}
Traceback (most recent call last):
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/postprocessing.py", line 56, in run_postprocessing
scripts.scripts_postproc.run(pp, args)
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/scripts_postprocessing.py", line 130, in run
script.process(pp, **process_args)
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/scripts/postprocessing_upscale.py", line 96, in process
upscaled_image = self.upscale(pp.image, pp.info, upscaler1, upscale_mode, upscale_by, upscale_to_width, upscale_to_height, upscale_crop)
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/scripts/postprocessing_upscale.py", line 66, in upscale
image = upscaler.scaler.upscale(image, upscale_by, upscaler.data_path)
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/upscaler.py", line 63, in upscale
img = self.do_upscale(img, selected_model)
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/esrgan_model.py", line 150, in do_upscale
model = self.load_model(selected_model)
File "/mnt/Kodi_Backup/Applications/stable-diffusion-webui-ux/modules/esrgan_model.py", line 170, in load_model
if "params_ema" in state_dict:
TypeError: argument of type 'NoneType' is not iterable.
I'm assuming it's not corrupt, as i have downloaded it about 4 times already.
Was hoping there was some kind of fix for this, as it is my favorite upscaler, and is pretty much the last piece of the puzzle i'm missing. I'm
Beta Was this translation helpful? Give feedback.
All reactions