Error occurred when executing CLIPTextEncode

#46
by lncemep2 - opened

Error occurred when executing CLIPTextEncode:

'NoneType' object has no attribute 'tokenize'

File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 57, in encode
tokens = clip.tokenize(text)

first - download basic workflow from Workflow examples
second - download clip model and put it in models\clip directory
third - make sure sd3 is put in correct directory

then set up everyting in your webui and make your queqe

thank you, i was getting this error also and for me, the only checkpoint that worked was sd3_medium_incl_clips.safetensors, on my 3rd try.

i have this error.

Sign up or log in to comment