This is an example to train MAML-TRPO on ML1 Push environment.

maml_trpo_metaworld_ml1_push(ctxt, seed, epochs, rollouts_per_task, meta_batch_size)

Set up environment and algorithm and run the task.

  • 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.

  • epochs (int) – Number of training epochs.

  • rollouts_per_task (int) – Number of rollouts per epoch per task for training.

  • meta_batch_size (int) – Number of tasks sampled per batch.