LLaVA-VL / LLaVA-NeXT

1.01k stars 55 forks source link

About llava-next-interleave inference #72

Open adkAurora opened 6 days ago

adkAurora commented 6 days ago

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

HaoZhang534 commented 6 days ago

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.

FengLi-ust commented 5 days ago

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