haotian-liu / LLaVA

[NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.
https://llava.hliu.cc
Apache License 2.0
19.25k stars 2.11k forks source link

[Question] Different results generated when set 'use_cache=True' #176

Open wantsjean opened 1 year ago

wantsjean commented 1 year ago

Question

I notice that the origional config's use_cache was set to False, then I set it to True, but found that the result became different. What's the reason? (both are greedy search)

[use_cache=False] The image features a man's headshot on a blue and white business card. The man is wearing a blue shirt and has a beard. The business card is designed to look like a police badge, which adds a unique and professional touch to the card. The card is likely intended for use in a professional setting, such as a business or a professional organization, where the man's identity and authority might be required.

[use_cache=True] The image features a man's headshot on a blue and white business card. The man is wearing a blue shirt and has a beard. The business card is designed to look like a police badge, which adds a unique and professional touch to the card. The card is likely intended for professional purposes, such as networking or representing a specific company or organization.

RajdeepBorgohain commented 1 year ago

@wantsjean Can you share which file or code you are working with the generate this ?