How to run inference on input images? #2635
-
Hi, I tried running inference using:
However, during inference I get the prompt:
This seems to expect a text prompt, but I want to pass in an image file (like a .png or .jpg) and receive the contextual output based on what the model learned during fine-tuning. My question is: Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, thanks for giving it a try. Unfortunately, the |
Beta Was this translation helpful? Give feedback.
Hey, thanks for giving it a try.
Unfortunately, the
inference
cli is very limited and only works for passing text instructions. For image, you may want to use another tool / a simple py script to run inference.