TinyTerra / ComfyUI_tinyterraNodes

A selection of nodes for Stable Diffusion ComfyUI
GNU General Public License v3.0
397 stars 45 forks source link

advanced_encode_from_tokens(tokenized['l'], #73

Closed starinskycc closed 11 months ago

starinskycc commented 11 months ago

image

Error occurred when executing ttN pipeLoader:

list indices must be integers or slices, not str

File "/root/ComfyUI/execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/root/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 "/root/ComfyUI/execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/root/ComfyUI/custom_nodes/ComfyUI_tinyterraNodes/tinyterraNodes.py", line 1172, in adv_pipeloader positive_embeddings_final, positive_pooled = advanced_encode(clipped, positive, positive_token_normalization, positive_weight_interpretation, w_max=1.0, apply_to_pooled='enable') File "/root/ComfyUI/custom_nodes/ComfyUI_tinyterraNodes/adv_encode.py", line 262, in advanced_encode return advanced_encode_from_tokens(tokenized['l'],

TinyTerra commented 11 months ago

Please make sure you have the latest version of the node pack and of comfyui - a recent comfyui change necessitated a ttN hotfix and now the latest version of the node pack is not compatible with earlier versions of ComfyUI

starinskycc commented 11 months ago

TKS