Closed robertvoy closed 1 year ago
Hey, I'm using the latest version of ComfyUI and ttN, I'm getting this error when using a LoRA:
!!! Exception during processing !!! Traceback (most recent call last): File "C:\ComfyUI\ComfyUI\execution.py", line 145, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\ComfyUI\ComfyUI\execution.py", line 75, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\ComfyUI\ComfyUI\execution.py", line 68, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes\tinyterraNodes.py", line 250, in adv_pipeloader model, clip = load_lora(lora1_name, model, clip, lora1_model_strength, lora1_clip_strength) File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes\tinyterraNodes.py", line 169, in load_lora model_lora, clip_lora = comfy.sd.load_lora_for_models(model, clip, lora_path, strength_model, strength_clip) File "C:\ComfyUI\ComfyUI\comfy\sd.py", line 407, in load_lora_for_models loaded = load_lora(lora, key_map) File "C:\ComfyUI\ComfyUI\comfy\sd.py", line 69, in load_lora if alpha_name in lora.keys(): AttributeError: 'str' object has no attribute 'keys'
It worked fine before, but after I updated Comfy and ttN this started happening.
Hey, I'm using the latest version of ComfyUI and ttN, I'm getting this error when using a LoRA:
!!! Exception during processing !!! Traceback (most recent call last): File "C:\ComfyUI\ComfyUI\execution.py", line 145, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "C:\ComfyUI\ComfyUI\execution.py", line 75, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "C:\ComfyUI\ComfyUI\execution.py", line 68, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes\tinyterraNodes.py", line 250, in adv_pipeloader model, clip = load_lora(lora1_name, model, clip, lora1_model_strength, lora1_clip_strength) File "C:\ComfyUI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes\tinyterraNodes.py", line 169, in load_lora model_lora, clip_lora = comfy.sd.load_lora_for_models(model, clip, lora_path, strength_model, strength_clip) File "C:\ComfyUI\ComfyUI\comfy\sd.py", line 407, in load_lora_for_models loaded = load_lora(lora, key_map) File "C:\ComfyUI\ComfyUI\comfy\sd.py", line 69, in load_lora if alpha_name in lora.keys(): AttributeError: 'str' object has no attribute 'keys'
It worked fine before, but after I updated Comfy and ttN this started happening.