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

LTXVCLIPModelLoader not a string #44

Open
Pancat009 opened this issue Nov 27, 2024 · 0 comments
Open

LTXVCLIPModelLoader not a string #44

Pancat009 opened this issue Nov 27, 2024 · 0 comments

Comments

@Pancat009
Copy link

error encountered when I run the sample workflow,
image

Prompt executed in 11.64 seconds
got prompt
!!! Exception during processing !!! not a string
Traceback (most recent call last):
File "C:\comfyui-aki-torch240\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "C:\comfyui-aki-torch240\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "C:\comfyui-aki-torch240\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\comfyui-aki-torch240\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "C:\comfyui-aki-torch240\custom_nodes\ComfyUI-LTXVideo\t5_encoder.py", line 144, in load_model
return (comfy.sd.CLIP(clip_target),)
File "C:\comfyui-aki-torch240\comfy\sd.py", line 99, in init
self.tokenizer = tokenizer(embedding_directory=embedding_directory, tokenizer_data=tokenizer_data)
File "C:\comfyui-aki-torch240\custom_nodes\ComfyUI-LTXVideo\t5_encoder.py", line 113, in init
super().init(tokenizer_path)
File "C:\comfyui-aki-torch240\custom_nodes\ComfyUI-LTXVideo\t5_encoder.py", line 20, in init
self.tokenizer = T5Tokenizer.from_pretrained(
File "C:\comfyui-aki-torch240\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2271, in from_pretrained
return cls.from_pretrained(
File "C:\comfyui-aki-torch240\python\lib\site-packages\transformers\tokenization_utils_base.py", line 2505, in from_pretrained
tokenizer = cls(*init_inputs, **init_kwargs)
File "C:\comfyui-aki-torch240\python\lib\site-packages\transformers\models\t5\tokenization_t5.py", line 150, in init
self.sp_model.Load(vocab_file)
File "C:\comfyui-aki-torch240\python\lib\site-packages\sentencepiece_init
.py", line 905, in Load
return self.LoadFromFile(model_file)
File "C:\comfyui-aki-torch240\python\lib\site-packages\sentencepiece_init
.py", line 310, in LoadFromFile
return _sentencepiece.SentencePieceProcessor_LoadFromFile(self, arg)
TypeError: not a string

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