Replies: 4 comments 2 replies
-
txt2img: woman, closeup 2024-09-28 20:46:04.2874625 [E:onnxruntime:Default, provider_bridge_ort.cc:1992 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1637 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "Q:\FORGE\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" 2024-09-28 20:46:04.3325185 [E:onnxruntime:Default, provider_bridge_ort.cc:1992 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1637 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "Q:\FORGE\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" 2024-09-28 20:46:04.3813438 [E:onnxruntime:Default, provider_bridge_ort.cc:1992 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1637 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "Q:\FORGE\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" 2024-09-28 20:46:04.4815406 [E:onnxruntime:Default, provider_bridge_ort.cc:1992 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1637 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "Q:\FORGE\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" 2024-09-28 20:46:05.1136346 [E:onnxruntime:Default, provider_bridge_ort.cc:1992 onnxruntime::TryGetProviderInfo_CUDA] D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1637 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "Q:\FORGE\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll" duplicated model task type, ignore: Q:\FORGE\webui\models\insightface\models\buffalo_l\w600k_r50.onnx recognition Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00, 2.92it/s] |
Beta Was this translation helpful? Give feedback.
-
I fixed it by deleting the "site-packages" folder from forge (I don't have the paste in the python folder either), then also delete the reactor extension, and it started working again, but the error messages still persist... which I don't care about. .. |
Beta Was this translation helpful? Give feedback.
-
you need to install in site-packages from forge/automatic1111 folder |
Beta Was this translation helpful? Give feedback.
-
Should work Ok now, try to install ReActor from the scratch |
Beta Was this translation helpful? Give feedback.
-
txt2img: woman, closeup
[Unload] Trying to free 1024.00 MB for cuda:0 with 1 models keep loaded ... Current free memory is 4887.47 MB ... Done.
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.93it/s]
[Unload] Trying to free 1089.00 MB for cuda:0 with 1 models keep loaded ... Current free memory is 4887.35 MB ... Done.
20:02:16 - ReActor - STATUS - Working: source face index [0], target face index [0]
20:02:16 - ReActor - STATUS - Using Hashed Source Face(s) Model...
20:02:16 - ReActor - STATUS - Analyzing Target Image...
20:02:17 - ReActor - STATUS - Detecting Source Face, Index = 0
20:02:17 - ReActor - ERROR - Age Detection: No face with index = 0 was found
20:02:17 - ReActor - ERROR - Gender Detection: No face with index = 0 was found
20:02:17 - ReActor - STATUS - Trying to halve 'det_size' parameter
*** Error running postprocess_image: Q:\FORGE\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py
Traceback (most recent call last):
File "Q:\FORGE\webui\modules\scripts.py", line 940, in postprocess_image
script.postprocess_image(p, pp, *script_args)
File "Q:\FORGE\webui\extensions\sd-webui-reactor\scripts\reactor_faceswap.py", line 465, in postprocess_image
result, output, swapped = swap_face(
File "Q:\FORGE\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 598, in swap_face
source_face, wrong_gender, source_age, source_gender = get_face_single(source_img, source_faces, face_index=source_faces_index[0], gender_source=gender_source, det_thresh=detection_options.det_thresh, det_maxnum=detection_options.det_maxnum)
File "Q:\FORGE\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 329, in get_face_single
return get_face_single(img_data, analyze_faces(img_data, det_size_half, det_thresh, det_maxnum), face_index, det_size_half, gender_source, gender_target, det_thresh, det_maxnum)
File "Q:\FORGE\webui\extensions\sd-webui-reactor\scripts\reactor_swapper.py", line 304, in analyze_faces
return face_analyser.get(img_data, max_num=det_maxnum)
File "Q:\FORGE\system\python\lib\site-packages\insightface\app\face_analysis.py", line 75, in get
model.get(img, face)
File "Q:\FORGE\system\python\lib\site-packages\insightface\model_zoo\arcface_onnx.py", line 67, in get
face.embedding = self.get_feat(aimg).flatten()
File "Q:\FORGE\system\python\lib\site-packages\insightface\model_zoo\arcface_onnx.py", line 84, in get_feat
net_out = self.session.run(self.output_names, {self.input_name: blob})[0]
File "Q:\FORGE\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 216, in run
self._validate_input(list(input_feed.keys()))
File "Q:\FORGE\system\python\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 198, in _validate_input
raise ValueError(
ValueError: Required inputs (['onnx::Gemm_1']) are missing from input feed (['input']).
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 5.17it/s]
{"prompt": "woman, closeup", "all_prompts": ["woman, closeup"], "negative_prompt": "", "all_negative_prompts": [""], "seed": 4171965471, "all_seeds": [4171965471], "subseed": 1719788442, "all_subseeds": [1719788442], "subseed_strength": 0, "width": 512, "height": 512, "sampler_name": "Euler a", "cfg_scale": 7, "steps": 20, "batch_size": 1, "restore_faces": false, "face_restoration_model": null, "sd_model_name": "picxReal_10", "sd_model_hash": "db74eea004", "sd_vae_name": null, "sd_vae_hash": null, "seed_resize_from_w": -1, "seed_resize_from_h": -1, "denoising_strength": 0.7, "extra_generation_params": {"Eta": 0.5}, "index_of_first_image": 0, "infotexts": ["woman, closeup\nSteps: 20, Sampler: Euler a, Schedule type: Automatic, CFG scale: 7, Seed: 4171965471, Size: 512x512, Model hash: db74eea004, Model: picxReal_10, Clip skip: 2, Eta: 0.5, Version: f2.0.1v1.10.1-previous-543-g22e2bc3b"], "styles": [], "job_timestamp": "20240928200214", "clip_skip": 2, "is_using_inpainting_conditioning": false, "version": "f2.0.1v1.10.1-previous-543-g22e2bc3b"}
Beta Was this translation helpful? Give feedback.
All reactions