Skip to content

implementation detail question about MAMLPPO  #2331

@seolhokim

Description

@seolhokim

Hi, Thank you for providing the quality code. I have a implementation detail question.

  1. Why don't you just call optimizer.step() after meta_objective.backward()?

self._meta_optimizer.zero_grad()
meta_objective.backward()
self._meta_optimize(all_samples, all_params)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions