Running Florence has been throwing up this error for a couple of days. Any help would be appreciated.
# 😺dzNodes: LayerStyle -> Error loading model CogFlorence-2.1-Large: list.remove(x): x not in list
# 😺dzNodes: LayerStyle -> Attempting to load tokenizer instead of processor...
# 😺dzNodes: LayerStyle -> Error loading model or tokenizer: name 'AutoTokenizer' is not defined
!!! Exception during processing !!! cannot access local variable 'processor' where it is not associated with a value
Traceback (most recent call last):
File "F:\ComfyUI\execution.py", line 323, 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 "F:\ComfyUI\execution.py", line 198, 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 "F:\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "F:\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 402, in load
self.model, self.processor = load_model(version)
^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 63, in load_model
return (model.to(device), processor)
^^^^^^^^^
UnboundLocalError: cannot access local variable 'processor' where it is not associated with a value
Running Florence has been throwing up this error for a couple of days. Any help would be appreciated.