GithubHelp home page GithubHelp logo

Comments (7)

dxli94 avatar dxli94 commented on May 23, 2024

Hi @YHWmz ,

The 55.4 result is obtained by initializing from VQAv2 checkpoint. Can you confirm you are loading this checkpoint?

If directly tuned on OKVQA from pretraiend checkpoint, ~45 is expected.

Thanks.

from lavis.

YHWmz avatar YHWmz commented on May 23, 2024

Hi @YHWmz ,

The 55.4 result is obtained by initializing from VQAv2 checkpoint. Can you confirm you are loading this checkpoint?

If directly tuned on OKVQA from pretraiend checkpoint, ~45 is expected.

Thanks.

Thanks for your replay.

I find that the model initializing from 'https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_vqa_capfilt_large.pth' in LAVIS/lavis/models/base_model.py line 101.

I am not sure whether the ‘model_base_vqa_capfilt_large.pth’ is VQAv2 checkpoint?By the way, I didn't change the code in LAVIS but just run the script LAVIS/run_scripts/blip/train/train_okvqa.sh

from lavis.

YHWmz avatar YHWmz commented on May 23, 2024

I also try to run LAVIS/run_scripts/blip/train/train_aokvqa.sh and the model is initializing from 'model_base_vqa_capfilt_large.pth' as well. Then I find the result is ~50, which also lower than 56.2 in Benchmark.

from lavis.

dxli94 avatar dxli94 commented on May 23, 2024

Are you using the same configurations as in .yaml? Note that OKVQA and AOKVQA dataset sizes are quite small. If you change batch size etc, you may also need to adjust other hparams accordingly to reach the best results.

from lavis.

YHWmz avatar YHWmz commented on May 23, 2024

Oh, I change the bz to 12. Maybe that is the problem.

I'll let you know when I figure it out.

Thank u so much for the help~

from lavis.

YHWmz avatar YHWmz commented on May 23, 2024

Solved.

The problem is the bz.

Thanks for your help again.

from lavis.

dxli94 avatar dxli94 commented on May 23, 2024

Glad to hear.

from lavis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.