You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On updating to latest version, coderformer restore doesnt work.
2024-03-27 23:04:12,326 - FaceSwapLab - INFO - Restore face with CodeFormer
Traceback (most recent call last):
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/extensions/sd-webui-faceswaplab/scripts/faceswaplab_swapping/upscaled_inswapper.py", line 215, in get
bgr_fake = self.upscale_and_restore(
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/extensions/sd-webui-faceswaplab/scripts/faceswaplab_swapping/upscaled_inswapper.py", line 155, in upscale_and_restore
upscaled = upscaling.restore_face(upscaled, pp_options)
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/extensions/sd-webui-faceswaplab/scripts/faceswaplab_postprocessing/upscaling.py", line 41, in restore_face
numpy_image = codeformer_model.codeformer.restore(
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/modules/codeformer_model.py", line 55, in restore
return self.restore_with_helper(np_image, restore_face)
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/modules/face_restoration_utils.py", line 156, in restore_with_helper
self.send_model_to(self.get_device())
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/modules/face_restoration_utils.py", line 132, in send_model_to
if self.face_helper:
File "/opt/homebrew/Cellar/python@3.10/3.10.13_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/functools.py", line 981, in __get__
val = self.func(instance)
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/modules/face_restoration_utils.py", line 126, in face_helper
return create_face_helper(self.get_device())
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/modules/face_restoration_utils.py", line 47, in create_face_helper
return FaceRestoreHelper(
File "/opt/homebrew/lib/python3.10/site-packages/facexlib/utils/face_restoration_helper.py", line 99, in __init__
self.face_det = init_detection_model(det_model, half=False, device=self.device, model_rootpath=model_rootpath)
File "/opt/homebrew/lib/python3.10/site-packages/facexlib/detection/__init__.py", line 22, in init_detection_model
load_net = torch.load(model_path, map_location=lambda storage, loc: storage)
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/modules/safe.py", line 108, in load
return load_with_extra(filename, *args, extra_handler=global_extra_handler, **kwargs)
File "/Volumes/d/apps/sdxl/stable-diffusion-webui/modules/safe.py", line 156, in load_with_extra
return unsafe_torch_load(filename, *args, **kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/torch/serialization.py", line 815, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/opt/homebrew/lib/python3.10/site-packages/torch/serialization.py", line 1051, in _legacy_load
typed_storage._untyped_storage._set_from_file(
RuntimeError: unexpected EOF, expected 5999701 more bytes. The file might be corrupted.
2024-03-27 23:04:12,728 - FaceSwapLab - ERROR - Conversion failed unexpected EOF, expected 5999701 more bytes. The file might be corrupted.
2024-03-27 23:04:12,728 - FaceSwapLab - ERROR - Failed to swap face in postprocess method : unexpected EOF, expected 5999701 more bytes. The file might be corrupted.
Traceback (most recent ca
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On updating to latest version, coderformer restore doesnt work.
Beta Was this translation helpful? Give feedback.
All reactions