Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object has no attribute 'lower' when reaching LoadPuLID Model #101

Open
paratechnical opened this issue Nov 2, 2024 · 0 comments

Comments

@paratechnical
Copy link

Error occurred when executing PulidModelLoader:

'NoneType' object has no attribute 'lower'

File "/teamspace/studios/this_studio/ComfyUI/execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/teamspace/studios/this_studio/ComfyUI/execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/teamspace/studios/this_studio/ComfyUI/execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/teamspace/studios/this_studio/ComfyUI/custom_nodes/PuLID_ComfyUI/pulid.py", line 210, in load_model
model = comfy.utils.load_torch_file(ckpt_path, safe_load=True)
File "/teamspace/studios/this_studio/ComfyUI/comfy/utils.py", line 14, in load_torch_file
if ckpt.lower().endswith(".safetensors"):

also when I try to add a new "Load PuLID Model" I cannot see any pulid_file only null or undefined
For a preloaded workflow I see ip-adapter_pulid_sdxl_fp12.safetensors

I downloaded ip-adapter_pulid_sdxl_fp12.safetensors to ComfyUI/models/pulid and to ComfyUI/models/insightface

I also have
image
in ComfyUI/models/insightface/antelopev2

I ran pip install facexlib --use-pep517

I don' know what else to do
I am running on Linux on lightning.ai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant