Kosinkadink / ComfyUI-AnimateDiff-Evolved

Improved AnimateDiff for ComfyUI and Advanced Sampling Support
Apache License 2.0
2.74k stars 208 forks source link

Loading motion LoRA v3_sd15_adapter.ckpt #261

Closed nyukers closed 10 months ago

nyukers commented 10 months ago

[AnimateDiffEvo] - INFO - Loading motion module v3_sd15_mm.ckpt [AnimateDiffEvo] - INFO - Loading motion LoRA v3_sd15_adapter.ckpt ERROR:root:!!! Exception during processing !!! ERROR:root:Traceback (most recent call last): File "d:\SDComfyUI\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "d:\SDComfyUI\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "d:\SDComfyUI\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "D:\SDComfyUI\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\nodes.py", line 115, in load_mm_and_inject_params motion_model = load_motion_module(model_name, model, motion_lora=motion_lora, motion_model_settings=motion_model_settings) File "D:\SDComfyUI\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\model_injection.py", line 206, in load_motion_module load_motion_lora_as_patches(motion_model, lora) File "D:\SDComfyUI\ComfyUI\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\model_injection.py", line 148, in load_motion_lora_as_patches raise ValueError(f"'{lora.name}' contains no temporal keys; it is not a valid motion LoRA!") ValueError: 'v3_sd15_adapter.ckpt' contains no temporal keys; it is not a valid motion LoRA!**

What am I doing wrong?

TingTingin commented 10 months ago

the adapter isnt a motion lora like it says

v3_sd15_adapter.ckpt' contains no temporal keys; it is not a valid motion LoRA!

you load it with a regular lora loader its for the sd model not the diff model