Open av8dtop opened 2 months ago
Are there any more error messages?
好像沒有遺漏! 就滿單純的,但是我的model應該都很正確沒問題,就一個florence2 load model有問題,大致上看代碼就是load model有問題,滿疑惑的,還是有可能是跟某個東西有衝突才導致的
0: 640x480 1 face, 17.2ms Speed: 0.0ms preprocess, 17.2ms inference, 0.0ms postprocess per image at shape (1, 3, 640, 480)
!!! Exception during processing !!! local variable 'processor' referenced before assignment Traceback (most recent call last): File "F:\ComfyUI-aki-v1.2\execution.py", line 317, 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-aki-v1.2\execution.py", line 192, 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-aki-v1.2\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "F:\ComfyUI-aki-v1.2\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "F:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 386, in load self.model, self.processor = load_model(version) File "F:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI_LayerStyle\py\florence2_ultra.py", line 62, in load_model return (model.to(device), processor) UnboundLocalError: local variable 'processor' referenced before assignment
看樣子好像是遺漏了什麼?
升级transformers试试
ComfyUI Error Report
Error Details
Exception Message: local variable 'processor' referenced before assignment
Stack Trace