foolyc / meta-sgd Goto Github PK
View Code? Open in Web Editor NEWMeta-SGD experiment on Omniglot classification compared with MAML
Meta-SGD experiment on Omniglot classification compared with 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?
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?
Line 64 in 4922a8d
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?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.