Git Product home page Git Product logo

greedy-gerbil's People

Contributors

kaleidophon avatar kuroo avatar personads avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

greedy-gerbil's Issues

Logical Error in Creating One Hot Vectors

The data set class now also reads in the image features and support the pytorch Dataset class. However, I discovered a logical error in how I create the one-hot vectors for all the data sets. I will have to correct this one tomorrow before I can check off that box in the milestone issue.

Training of RNN on batches

The training of the RNN model (on branch "rnn") currently suffers does not support batches due to varying question lengths.
Current, the workaround is to load a batch and then iterate inside the batch. Not as efficient, but the padding strategies I tried weren't successful.

The strategy was to basically take the maximum question length in the current batch and pad all questions that are shorter with -1.
Unfortunately, this clashes with the embedding layer since there's no word index -1.
Padding after embedding is also not easily possible since it would require casting the question variable to something mutable and then recasting it as a Variable and the optimizer really doesn't like this.

Pytorch does seem to have a padding routine somewhere, but so far I haven't gotten it to run (and they also don't use it in their seq2seq example).

Anyway, it's running now, but quite slow.

Milestones

  • Get BoW model working
    • Finish data preparation in regard to image features
    • Adjust model to input data
    • Training
    • Evaluation
      • Collect most difficult/easiest questions
      • Collect most difficult/easiest images
  • Brainstorm other models
  • Report
    • Initialize report structure

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.