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
It was working a few days ago. Now I get this. Tried clean install of reactor and still this. Anyone else?
*** Error running postprocess_image: C:\Users\flerndip\sd.webui\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py
Traceback (most recent call last):
File "C:\Users\flerndip\sd.webui\webui\modules\scripts.py", line 675, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "C:\Users\flerndip\sd.webui\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 360, in postprocess_image
result, output, swapped = swap_face(
File "C:\Users\flerndip\sd.webui\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 279, in swap_face
source_face, wrong_gender, source_age, source_gender = get_face_single(source_img, face_index=source_faces_index[0], gender_source=gender_source)
File "C:\Users\flerndip\sd.webui\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 198, in get_face_single
face_analyser = copy.deepcopy(getAnalysisModel())
File "copy.py", line 172, in deepcopy
File "copy.py", line 271, in _reconstruct
File "copy.py", line 146, in deepcopy
File "copy.py", line 231, in _deepcopy_dict
File "copy.py", line 146, in deepcopy
File "copy.py", line 231, in _deepcopy_dict
File "copy.py", line 172, in deepcopy
File "copy.py", line 271, in _reconstruct
File "copy.py", line 146, in deepcopy
File "copy.py", line 231, in _deepcopy_dict
File "copy.py", line 172, in deepcopy
File "copy.py", line 273, in _reconstruct
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\insightface\model_zoo\model_zoo.py", line 33, in setstate
self.init(model_path)
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\insightface\model_zoo\model_zoo.py", line 25, in init
super().init(model_path, **kwargs)
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 396, in init
raise e
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 383, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 415, in _create_inference_session
raise ValueError(
ValueError: This ORT build has ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'] enabled. Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession. For example, onnxruntime.InferenceSession(..., providers=['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'], ...)
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
-
It was working a few days ago. Now I get this. Tried clean install of reactor and still this. Anyone else?
*** Error running postprocess_image: C:\Users\flerndip\sd.webui\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py
Traceback (most recent call last):
File "C:\Users\flerndip\sd.webui\webui\modules\scripts.py", line 675, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "C:\Users\flerndip\sd.webui\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 360, in postprocess_image
result, output, swapped = swap_face(
File "C:\Users\flerndip\sd.webui\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 279, in swap_face
source_face, wrong_gender, source_age, source_gender = get_face_single(source_img, face_index=source_faces_index[0], gender_source=gender_source)
File "C:\Users\flerndip\sd.webui\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 198, in get_face_single
face_analyser = copy.deepcopy(getAnalysisModel())
File "copy.py", line 172, in deepcopy
File "copy.py", line 271, in _reconstruct
File "copy.py", line 146, in deepcopy
File "copy.py", line 231, in _deepcopy_dict
File "copy.py", line 146, in deepcopy
File "copy.py", line 231, in _deepcopy_dict
File "copy.py", line 172, in deepcopy
File "copy.py", line 271, in _reconstruct
File "copy.py", line 146, in deepcopy
File "copy.py", line 231, in _deepcopy_dict
File "copy.py", line 172, in deepcopy
File "copy.py", line 273, in _reconstruct
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\insightface\model_zoo\model_zoo.py", line 33, in setstate
self.init(model_path)
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\insightface\model_zoo\model_zoo.py", line 25, in init
super().init(model_path, **kwargs)
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 396, in init
raise e
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 383, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "C:\Users\flerndip\sd.webui\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 415, in _create_inference_session
raise ValueError(
ValueError: This ORT build has ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'] enabled. Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession. For example, onnxruntime.InferenceSession(..., providers=['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'], ...)
Beta Was this translation helpful? Give feedback.
All reactions