Giter Club home page Giter Club logo

meta-sgd's People

Contributors

foolyc 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  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

meta-sgd's Issues

Difference between Meta-SGD and MAML

Thank you for your paper and project!I find that the only difference between Meta-SGD and MAML in source code is the update_lr is defined by tf.Variable(0.001, "updatelr") rather than defined by meta_update_lr. Is that correct?

About update_lr and meta_lr

hi,foolyc.
I have read your Meta-SGD code recently, that's a good project.
But I have some questions about the code and paper.
In the paper, update_lr and meta_lr seem like same item, and used element wise product with network parameters.
The line here seems not conform to the paper?
And set self.meta_lr and self.update same tf.variable?

self.update_lr = tf.Variable(0.001, "updatelr")

I got an error

I run code for :python main.py --datasource=omniglot --metatrain_iterations=40000 --meta_batch_size=32 --update_batch_size=1 --update_lr=0.4 --num_updates=1 --logdir=logs/omniglot5way/

and got this error in data_generator.py :
sampled_character_folders = random.sample(folders, self.num_classes)
File "/usr/lib/python2.7/random.py", line 321, in sample
raise ValueError("sample larger than population")
would you please help me?

Performance table

Thank you for making this comparison between MAML and MetaSGD.

Could you share the final performance results for the two models? The training history is a bit unclear

Thanks.

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.