Example script to run RL2 in ML10.

rl2_ppo_metaworld_ml10(ctxt, seed, meta_batch_size, n_epochs, episode_per_task)

Train RL2 PPO with ML10 environment.

  • ctxt (garage.experiment.ExperimentContext) – The experiment configuration used by Trainer to create the snapshotter.

  • seed (int) – Used to seed the random number generator to produce determinism.

  • meta_batch_size (int) – Meta batch size.

  • n_epochs (int) – Total number of epochs for training.

  • episode_per_task (int) – Number of training episode per task.