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

Image Encode Error #185

Closed
eas125 opened this issue Dec 19, 2024 · 2 comments
Closed

Image Encode Error #185

eas125 opened this issue Dec 19, 2024 · 2 comments

Comments

@eas125
Copy link

eas125 commented Dec 19, 2024

This is an odd one. I get an error at TextImageEncode when an image is connected to Image 1. It works if connected to Image 2. Two images get the same error.

File "N:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper\hyvideo\text_encoder_init_.py", line 214, in text2tokens
raise ValueError("Only vision_languague models support image input")
ValueError: Only vision_languague models support image input

@kijai
Copy link
Owner

kijai commented Dec 19, 2024

To use the image inputs you should use the full xtuner model.

@eas125
Copy link
Author

eas125 commented Dec 19, 2024

That was it. I tried it earlier and was getting errors, so I assumed it was incorrect. Reloaded from git and downloaded the safetensors again. Worked. Something was wrong with the original download.
Thanks for the reply. Helps concentrate on 1 thing to troubleshoot.

@eas125 eas125 closed this as completed Dec 19, 2024
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

2 participants