Skip to content
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

Questions about outer-loop loss.backward() #3

Open
ghost opened this issue Oct 3, 2021 · 0 comments
Open

Questions about outer-loop loss.backward() #3

ghost opened this issue Oct 3, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 3, 2021

I noticed that in the outer loop, the outer_loop_loss.backward() and optim.step() cannot update the MAMLModel.params, which causes each episode cannot update the model.params.

Finally, the meta part cannot change the model.params and has no effect.

I’m wondering whether this is deliberately designed? If yes, it seems that we need to add some code except the “TODO” to update the initial params using the gradients of fast weights?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants