sungyubkim / GBML

A collection of Gradient-Based Meta-Learning Algorithms with pytorch
MIT License
61 stars 8 forks source link

Reptile: track_higher_grads=True? #5

Open hang-wu opened 4 years ago

hang-wu commented 4 years ago

Thanks so much for the great codes!

I was checking the reptile code, and it appears I need to set track_higher_grads=True in the context for this to run.

Is there something I am missing here? Thanks!

https://github.com/sungyubkim/GBML/blob/1577e172dc5852267ad0b94cdb9c175a5ca7018e/gbml/reptile.py#L41

duocheng1999 commented 3 years ago

yes I met the same error. Did u solve it?

hang-wu commented 3 years ago

Hi.. I think I set it to True to make it run, but I am not sure whether the codes are producing the output correctly. Thus, I ended up not using this package.

duocheng1999 commented 3 years ago

I set it True and during the training it stayed 0% and never moved ahead. so i also go to look for others codes…… do u find some useful ones?

On Sun, Sep 13, 2020, 8:45 PM hang.wu notifications@github.com wrote:

Hi.. I think I set it to True to make it run, but I am not sure whether the codes are producing the output correctly. Thus, I ended up not using this package.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sungyubkim/GBML/issues/5#issuecomment-691752606, or unsubscribe https://github.com/notifications/unsubscribe-auth/APQ7FRJV7MBSQYF4OGPIUITSFVRT3ANCNFSM4OJWOW2A .

kgarg8 commented 3 years ago

Reptile results could not be reproduced at my end also.