salesforce / LAVIS

LAVIS - A One-stop Library for Language-Vision Intelligence
BSD 3-Clause "New" or "Revised" License
9.33k stars 925 forks source link

About few-shot image captioning #248

Open hcwei13 opened 1 year ago

hcwei13 commented 1 year ago

i can't find some example for few-shot image captioning. How should I input few-shot examples into the model? For example, " a photo of xxx. a photo of xxx. a photo of"? How should the images be inputted?

hcwei13 commented 1 year ago

the model is BLIP2.