openai / supervised-reptile

Code for the paper "On First-Order Meta-Learning Algorithms"
https://arxiv.org/abs/1803.02999
MIT License
989 stars 210 forks source link

Seems that reptile produce similar gridients as vanilla SGD #20

Open dongdongbh opened 5 years ago

dongdongbh commented 5 years ago

I run the sine code and print out the outerloop updated weight without multiply the outerstepsize and the nomal SGD weight, and they are same, even I set the innerepochs bigger than 1. and form the reptile algorithm, we can see that CodeCogsEqn

,so the only difference is the out loop multiply an epsilon, it is only a learning rate defferent with SGD.