Git Product home page Git Product logo

visual_qa_tensorflow's Introduction

visual_qa_tensorflow

lstm_pipeline.sh has all the steps to be followed from beginning.

Feature extraction is slow. You can keep already extracted features in data folder with names trainVGG.mat and valVGG.mat

download.sh downloads the questions and images also. Images are needed for feature extraction. If you have features then no need to download images.

pythondumpTxt.py has been taken from visual-qa Keras

get_unique_images.py computes the list of unique images which are to be used for feature extraction. It also dumps the question to image indices mapping in a text file. This indices are the indices of feature matrix which stores the features of each unique image.

write_tfrecords.py writes the trainign data in a tfrecord file which is read at the time of training. It also dumps the vocab list.

train_lstm.sh trains the model with default parameters. If you want to use gpu 0 then GPUS parameter will be '0'. For gpu 1 it will be '1'. For using both gpu 0 and 1 it will be '0, 1'. For no GPU use ''.

Currently data processing stage is hard coded so use the default file names as parameters.

visual_qa_tensorflow's People

Contributors

ashutosh620 avatar

Watchers

 avatar James Cloos avatar

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.