Giter Club home page Giter Club logo

cs330-stanford-deep-multi-task-and-meta-learning's People

Contributors

luvata avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cs330-stanford-deep-multi-task-and-meta-learning's Issues

Loss is not going down hw1.py

Hello,

I tried to implement the assignment of HW1 by myself, and I was getting a flat loss and a flat accuracy around 20% in the default case, i.e: num_classes=5, num_classes=1, meta_batch_size=16.

Now I used your tensorflow implementation and got the same result.

Is this expected ?

Thanks.

Shuffle at load_data in homework 1

shuffle at load_data ?

Some options:

  1. shuffle(encoding) + shuffle(retrieval)? (shuffle separately, then concatenate)
  2. shuffle(encoding + retrieval) (shuffle both together)
  3. Others idea ?

Currently I'm using (2), there can be chance that retrieval samples labels are duplicated or not appear in encoding samples. IMO I think the prediction will not be biased since the model must learn to deal with duplication or novelty class in retrieval phase
Did I miss something ?

[Edit 1] Newest commit is currently using options (2)
[Edit 2]

On paper MANN

Interestingly, the MANN displayed better than random guessing on the first instance within a class. Seemingly, it employed a strategy of educated guessing; if a particular sample produced a key that was a poor match to any of the bindings stored in external memory, then the network was less likely to choose the class labels associated with these stored bindings, and hence increased its probability of correctly guessing this new class on the first instance.

So it seems (1) is still correct

about the matrix 'all_image_batches' in load_data.py

hello!
In the matrix 'all_image_batches', why don't all shots in the same class come from the same class?
For instance, if I print 'images[0, 0, 0].reshape((28,28))' and 'images[0, 1, 0].reshape((28,28))', I do expect them to be the similar picture form same class.Thanks!

Is Homework 2 code complete?

Hi @Luvata

Is the code for HW2 also complete, if not will it be possible for you to upload the completed code.It will be of great help.

Thank You.

Homework 1 - PyTorch Training Error

Hey,

I tried solving this in PyTorch, but my training loss is not improving.

I tried your PyTorch solution (copy and paste), same problem.

Am I missing something?

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.