Getting Started
Usage Guide (How-To)
Tutorials
Algorithms and Methods
Reference Guide
Development Guide
API Reference
garage
garage.envs
garage.experiment
garage.np
garage.plotter
garage.replay_buffer
garage.sampler
garage.tf
garage.torch
trpo_gym_tf_cartpole
An example to train a task with TRPO algorithm.
Train TRPO with CartPole-v0 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.