GithubHelp home page GithubHelp logo

weighted sum confusion about vqa_regat HOT 2 OPEN

linjieli222 avatar linjieli222 commented on July 25, 2024
weighted sum confusion

from vqa_regat.

Comments (2)

linjieli222 avatar linjieli222 commented on July 25, 2024

Hi there,

Thanks for your interests in our project.
The eval.py did not include the weighted sum part. As shown in equation 10 of the paper, the weighted sum is applied at prediction level. You can first generate the predictions and write a simple weighted sum function to aggregate the logits for each question.

I assume that you are referring to Table 3 results, the best results are obtained by only using BAN with the three types of relations. Results on other fusion methods such as BUTD and MUTAN are shown in Table 1.

from vqa_regat.

ifmaq1 avatar ifmaq1 commented on July 25, 2024

@linjieli222 thank you for your response. Yes I'm referring to Table 3 results. Did you use

python3 main.py --config config/ban_vqa.json for training

and later on, evaluated the three graph attentions with BAN
python3 eval.py --output_folder pretrained_models/regat_implicit/ban_1_implicit_vqa_196
python3 eval.py --output_folder pretrained_models/regat_implicit/ban_1_semantic_vqa_7971
python3 eval.py --output_folder pretrained_models/regat_implicit/ban_1_spatial_vqa_1687

then answer Predictions are generated through them, and I need to apply equation 10!**

Am I right?

from vqa_regat.

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.