-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAML or FOMAML implement #1
Comments
Hi! I think you are right, my bad, I'll fix it later. Thank you for pointing it out! |
Thanks for your nice work! In the his change in
to
|
Oh, that issue was also written by me 😂. In my experiments, there appears to be no difference between these two ways. Editing code in Could you please share me your experiment code and results? |
sorry... it my problem. i put the but this two way do have some different. If you just modified the higher( as you metioned in the issue.). The inner-step only can be set to 1. If set to 2 or bigger, error will occur. you can have a try :) |
Now the accumulated inner loop gradients (instead of final gradients) is used now (3d835ba). Thank you!
I had a try. I am not sure whether modifying higher in that way will cause any other issues, but it seems that as least setting |
The error is:
The pseudo-code is:
the i only modified the |
That's strange, your code seems the same as mine, but my code works well... And |
I also think my code is the same as yours.. Maybe there is something wrong in my code and i will have a carefully check.. if i fine the mistake, i will give you a feedback. Thanks for your reply.. :> Wish everything goes well with your work & coding ! |
Okey. Same to you! |
in the
maml.py
you compute the grad manully and map the grad from higher to the original model. but you only use thegrad[-1]
to the original model. is it works well?also in reptile.py
The text was updated successfully, but these errors were encountered: