Giter VIP home page Giter VIP logo

Comments (6)

ili3p avatar ili3p commented on May 26, 2024

To answer my own question:

What are the appropriate paths for answers_vocab.t7, questions_vocab.t7 and data.t7?

They should be in the data folder.

from neural-vqa.

ili3p avatar ili3p commented on May 26, 2024

Training from scratch, i.e. generating answers_vocab.t7, questions_vocab.t7 and data.t7 works. But you need to install torch with

TORCH_LUA_VERSION=LUA51 ./install.sh

Version LUA52 cannot be installed, and LUA21 (the default) cannot allocate enough memory.

from neural-vqa.

abhshkdz avatar abhshkdz commented on May 26, 2024

@ilija139 I see, thanks! And were you able to fix the nan training loss issue?

from neural-vqa.

abhshkdz avatar abhshkdz commented on May 26, 2024

To answer your first query, the checkpoint file is old. I added a bunch of things after that (Multi-layer LSTMs, thinner model checkpointing, etc), which is probably why it broke. :/ I'll fix it as soon as I can.

from neural-vqa.

ili3p avatar ili3p commented on May 26, 2024

@abhshkdz yes, the nan training loss is solved when training from scratch.
These are the files I've just generated with the current version of the repo. If you want you can link them:

https://www.dropbox.com/s/ounll9zagxk8hp5/answers_vocab.t7?dl=0
https://www.dropbox.com/s/55hk5x2x2fh63sc/data.t7?dl=0
https://www.dropbox.com/s/ty6wm905oexk4rb/questions_vocab.t7?dl=0
https://www.dropbox.com/s/3vj6477ia5xmz2f/vqa_epoch15.00_0.4576.t7?dl=0

Anyway thanks for providing the code, it's easy to understand so it's useful as a starting point.

from neural-vqa.

abhshkdz avatar abhshkdz commented on May 26, 2024

@ilija139 I'll link these, thanks!

from neural-vqa.

Related Issues (15)

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.