Closed pranaykalita closed 6 months ago
I tested ReActor in TD, and it works pretty well
console_log_level: '1'
You got error, because you set the parameter as string, but it must be set as Int
You should set it to 1 but not to '1'
доброго Вам времени! у меня аналогичная ситуация проект в связке TouchDesigner + ComfyUI с расширением Reactor ошибка идентична в коде всё правильно - значение без кавычек но ошибка есть
возможно данные в процессе лишний раз преобразуются в другой тип данных
вот часть кода:
"13": { "inputs": { "enabled": true, "swap_model": "inswapper_128.onnx", "facedetection": "retinaface_resnet50", "face_restore_model": "none", "face_restore_visibility": 1, "codeformer_weight": 0.5, "detect_gender_input": "no", "detect_gender_source": "no", "input_faces_index": "0", "source_faces_index": "0", "console_log_level": 1, "input_image": [ "8", 0 ], "source_image": [ "11", 0 ] }, "class_type": "ReActorFaceSwap", "_meta": { "title": "ReActor - Fast Face Swap" } }
вот ошибка из консоли:
got prompt ERROR:root:Failed to validate prompt for output 10: ERROR:root:* ReActorFaceSwap 13: ERROR:root: - Value not in list: console_log_level: '1' not in [0, 1, 2] ERROR:root:Output will be ignored invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
благодарю проблему решил! перекапал плагин и нашёл ошибку вопрос можно закрыть
Continue this thread. source_faces_index & input_faces_index assumed to be numbers int? But when executed through API it expected to be string.
custom_nodes\comfyui-reactor-node\scripts\reactor_faceswap.py", line 74, in process int(x) for x in faces_index.strip(",").split(",") if x.isnumeric() ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'strip'
custom_nodes\comfyui-reactor-node\scripts\reactor_faceswap.py", line 74, in process int(x) for x in faces_index.strip(",").split(",") if x.isnumeric() ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'strip'
I solved the same issue creating again the same node, I suppose the workflow had embedded an outdated reactor node, and reacreating it updated and fixed it
First, confirm
What happened?
i am trying to run a workflow on Touchdesigner using Reactor Faceswap, the console log level causing it to not working by throwing following output:
Additional information
No response