You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error(s) in loading state_dict for CLIPTextModelWithProjection:
size mismatch for text_projection.weight: copying a param with shape torch.Size([1280, 1280]) from checkpoint, the shape in current model is torch.Size([512, 1280]).
You may consider adding ignore_mismatched_sizes=True in the model from_pretrained method.
File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "E:\Comfy UI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-UltraPixel\nodes.py", line 209, in ultrapixel
image, edge_preview = model.process()
File "E:\Comfy UI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-UltraPixel\ultrapixel.py", line 127, in process
models = core.setup_models(extras)
File "E:\Comfy UI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-UltraPixel\train\train_t2i.py", line 420, in setup_models
CLIPTextModelWithProjection.from_pretrained(
File "E:\Comfy UI\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\modeling_utils.py", line 3838, in from_pretrained
) = cls._load_pretrained_model(
File "E:\Comfy UI\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\modeling_utils.py", line 4349, in _load_pretrained_model
raise RuntimeError(f"Error(s) in loading state_dict for {model.class.name}:\n\t{error_msg}")
I'd like to ask for help in resolving this. Thank you.请求帮忙解决,谢谢。
The text was updated successfully, but these errors were encountered:
Error(s) in loading state_dict for CLIPTextModelWithProjection:
size mismatch for text_projection.weight: copying a param with shape torch.Size([1280, 1280]) from checkpoint, the shape in current model is torch.Size([512, 1280]).
You may consider adding
ignore_mismatched_sizes=True
in the modelfrom_pretrained
method.File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "E:\Comfy UI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-UltraPixel\nodes.py", line 209, in ultrapixel
image, edge_preview = model.process()
File "E:\Comfy UI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-UltraPixel\ultrapixel.py", line 127, in process
models = core.setup_models(extras)
File "E:\Comfy UI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-UltraPixel\train\train_t2i.py", line 420, in setup_models
CLIPTextModelWithProjection.from_pretrained(
File "E:\Comfy UI\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\modeling_utils.py", line 3838, in from_pretrained
) = cls._load_pretrained_model(
File "E:\Comfy UI\ComfyUI-aki-v1.3\python\lib\site-packages\transformers\modeling_utils.py", line 4349, in _load_pretrained_model
raise RuntimeError(f"Error(s) in loading state_dict for {model.class.name}:\n\t{error_msg}")
I'd like to ask for help in resolving this. Thank you.请求帮忙解决,谢谢。
The text was updated successfully, but these errors were encountered: