Closed shaooping closed 2 months ago
onnx 1.15.0 onnxruntime 1.17.1 onnxruntime-gpu 1.17.1
There's smth wrong with your analysis models files, try to download them again https://huggingface.co/datasets/Gourieff/ReActor/blob/main/models/buffalo_l.zip and unzip them into the models/insightface/models/buffalo_l
directory replacing existing ones
You can also re-download the main model just in case and put it into models/insightface
https://huggingface.co/datasets/Gourieff/ReActor/blob/main/models/inswapper_128.onnx
First, confirm
What happened?
19:14:50 - ReActor - STATUS - Working: source face index [0], target face index [0] 19:14:50 - ReActor - STATUS - Analyzing Source Image... *** Error running postprocess_image: D:\sd-webui-aki-v4.5\extensions\sd-webui-reactor\scripts\reactor_faceswap.py Traceback (most recent call last): File "D:\sd-webui-aki-v4.5\modules\scripts.py", line 774, in postprocess_image script.postprocess_image(p, pp, *script_args) File "D:\sd-webui-aki-v4.5\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 443, in postprocess_image result, output, swapped = swap_face( File "D:\sd-webui-aki-v4.5\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 543, in swap_face source_faces = analyze_faces(source_img, det_thresh=detection_options.det_thresh, det_maxnum=detection_options.det_maxnum) File "D:\sd-webui-aki-v4.5\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 301, in analyze_faces face_analyser = copy.deepcopy(getAnalysisModel()) File "D:\sd-webui-aki-v4.5\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 145, in getAnalysisModel ANALYSIS_MODEL = insightface.app.FaceAnalysis( File "D:\sd-webui-aki-v4.5\extensions\sd-webui-reactor\scripts\console_log_patch.py", line 54, in patched_faceanalysis_init elif model.taskname not in self.models and (allowed_modules is None or model.taskname in allowed_modules): AttributeError: 'INSwapper' object has no attribute 'taskname'
Steps to reproduce the problem
Unable to perform face swap
I referenced this link but am still having problems with it at the moment: https://github.com/Gourieff/sd-webui-reactor/issues/149
Sysinfo
Os: Windows11pro Browser: MS Edge Gpu:Nvida 4070tisuper Sd-web-UI:sd-webui-aki-v4.5 Enabled plug-ins:
Relevant console log
Additional information
No response