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

Exception during processing!!! Required inputs (['attention_mask']) are missing from input feed (['input_ids']). #88

Open
yyoouu opened this issue Aug 16, 2024 · 0 comments

Comments

@yyoouu
Copy link

yyoouu commented Aug 16, 2024

with the 2 sample workflow,1.0 and 2.0,i get the error msg like these:

Exception during processing!!! Required inputs (['attention_mask']) are missing from input feed (['input_ids']).
Traceback (most recent call last):
File "D:\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\StabilityMatrix\Data\Packages\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 "D:\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\YOLO_WORLD_EfficientSAM.py", line 139, in yoloworld_esam_image
YOLO_WORLD_MODEL.set_classes(categories)
File "D:\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\inference\models\yolo_world\yolo_world.py", line 197, in set_classes
cache_miss_embeddings = self.clip_model.embed_text(
File "D:\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\inference\models\clip\clip_model.py", line 275, in embed_text
embeddings = self.textual_onnx_session.run(None, onnx_input_text)[0]
File "D:\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 213, in run
self._validate_input(list(input_feed.keys()))
File "D:\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 195, in _validate_input
raise ValueError(
ValueError: Required inputs (['attention_mask']) are missing from input feed (['input_ids']).

the config look like this:
image

thks

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