LLaVA-VL / LLaVA-NeXT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About llava-next-interleave inference

adkAurora opened this issue · comments

bash playground/demo/interleave_demo.py --model_path path/to/ckpt
The execute code should be run with python not bash.
And How can this code specify the input image sequence? It appears to be just a Gradio demo

looking forward to your reply

bash playground/demo/interleave_demo.py --model_path path/to/ckpt The execute code should be run with python not bash. And How can this code specify the input image sequence? It appears to be just a Gradio demo

looking forward to your reply

You can simply convert the demo code to an inference code by replace the input image sequence to your own.

If you want a interleaved demo, you can try our benchmark inference code.