Open snsdyp opened 1 month ago
LayerUtility: JoyCaption2 local variable 'clip_processor' referenced before assignment
Exception Message: local variable 'clip_processor' referenced before assignment
File "L:\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 "L:\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 "L:\comfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "L:\comfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "L:\comfyUI\custom_nodes\ComfyUI_LayerStyle-main\py\joycaption_alpha_2.py", line 489, in joycaption2 models = load_models(model_path, dtype, vlm_lora, device) File "L:\comfyUI\custom_nodes\ComfyUI_LayerStyle-main\py\joycaption_alpha_2.py", line 157, in load_models return clip_processor, clip_model, tokenizer, text_model, image_adapter
## System Information - **ComfyUI Version:** v0.2.2-91-g7d29fbf7 - **Arguments:** L:\comfyUI\main.py --auto-launch --preview-method auto --disable-cuda-malloc - **OS:** nt - **Python Version:** 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] - **Embedded Python:** false - **PyTorch Version:** 2.3.1+cu118 ## Devices How can I solve this error?
LayerUtility: JoyCaption2 local variable 'clip_processor' referenced before assignment
ComfyUI Error Report
Error Details
Exception Message: local variable 'clip_processor' referenced before assignment
Stack Trace