Open wtl196544579 opened 1 month ago
Error occurred when executing DownloadAndLoadKolorsModel:
Cannot load from F:\ComfyUI-aki-v1.3\models\diffusers\Kolors because the following keys are missing: encoder_hid_proj.bias, encoder_hid_proj.weight. Please make sure to pass
low_cpu_mem_usage=False
anddevice_map=None
if you want to randomly initialize those weights or else make sure your checkpoint file is correct.File "F:\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "F:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 80, in loadmodel unet = UNet2DConditionModel.from_pretrained(model_path, subfolder= 'unet', variant="fp16", revision=None, low_cpu_mem_usage=True).to(dtype).eval() File "F:\ComfyUI-aki-v1.3\python\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(args, **kwargs) File "F:\ComfyUI-aki-v1.3\python\lib\site-packages\diffusers\models\modeling_utils.py", line 750, in from_pretrained raise ValueError(
这个问题解决了吗,我碰到同样的困扰
Error occurred when executing DownloadAndLoadKolorsModel:
Cannot load from F:\ComfyUI-aki-v1.3\models\diffusers\Kolors because the following keys are missing: encoder_hid_proj.bias, encoder_hid_proj.weight. Please make sure to pass
low_cpu_mem_usage=False
anddevice_map=None
if you want to randomly initialize those weights or else make sure your checkpoint file is correct.File "F:\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "F:\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "F:\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "F:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-KwaiKolorsWrapper\nodes.py", line 80, in loadmodel unet = UNet2DConditionModel.from_pretrained(model_path, subfolder= 'unet', variant="fp16", revision=None, low_cpu_mem_usage=True).to(dtype).eval() File "F:\ComfyUI-aki-v1.3\python\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn return fn(args, **kwargs) File "F:\ComfyUI-aki-v1.3\python\lib\site-packages\diffusers\models\modeling_utils.py", line 750, in from_pretrained raise ValueError(