Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The results of InstructBLIP got zero on TextVQA #463

Open
kinredon opened this issue Dec 16, 2024 · 1 comment
Open

The results of InstructBLIP got zero on TextVQA #463

kinredon opened this issue Dec 16, 2024 · 1 comment

Comments

@kinredon
Copy link

Thank all the contributors for this awesome codebase
I have evaluated many models using the codebase, the results are corrected. But when I evaluated the InstructBLIP on TextVQA, the results of InstructBLIP got zero as follows:

image

the command is below:

CUDA_VISIBLE_DEVICES=3 python3 -m accelerate.commands.launch \
    --num_processes 1 \
    --main_process_port 12380 \
    -m lmms_eval \
    --model instructblip \
    --model_args pretrained=Salesforce/instructblip-vicuna-13b \
    --tasks textvqa_val \
    --batch_size 1 \
    --log_samples \
    --wandb_log_samples \
    --log_samples_suffix instructblip \
    --output_path ./logs/

Why does this happen?

@kcz358
Copy link
Collaborator

kcz358 commented Dec 25, 2024

Because the metric we use is exact_match so it does not perform any parsing. You might need to derive the true score from the log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants