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
garage.np.algos.rl_algorithm
Interface of RLAlgorithm.
RLAlgorithm
Bases: abc.ABC
abc.ABC
Base class for all the algorithms.
Note
If the field sampler_cls exists, it will be by Trainer.setup to initialize a sampler.
train
Obtain samplers and start actual training for each epoch.
trainer (Trainer) – Trainer is passed to give algorithm the access to trainer.step_epochs(), which provides services such as snapshotting and sampler control.