Replies: 1 comment
-
Better ask this to AI (free, no registration) -- https://lmarena.ai/ 👀 Ask in your native language ✌ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
how can I fix this error in comfyui
2025-06-29T02:23:34.972845 - Prompt executed in 0.11 seconds
2025-06-29T02:25:11.119834 - got prompt
2025-06-29T02:25:11.134838 - [ReActor] 02:25:11 - �[38;5;173mSTATUS�[0m - Restoring with GPEN-BFR-512.pth | Face Size is set to 512
2025-06-29T02:25:11.227500 - !!! Exception during processing !!! cannot access local variable 'model' where it is not associated with a value
2025-06-29T02:25:11.227500 - Traceback (most recent call last):
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 361, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 236, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 208, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\execution.py", line 197, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-ReActor-main\nodes.py", line 824, in execute
result = reactor.restore_face(self,image,model,visibility,codeformer_weight,facedetection)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-ReActor-main\nodes.py", line 226, in restore_face
facerestore_model = model_loading.load_state_dict(sd).eval()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-ReActor-main\r_chainner\model_loading.py", line 28, in load_state_dict
return model
^^^^^
UnboundLocalError: cannot access local variable 'model' where it is not associated with a value
Beta Was this translation helpful? Give feedback.
All reactions