-
Notifications
You must be signed in to change notification settings - Fork 56
Utilities
The replay_buffer.py
provides 2 sorts of replay buffers as follows.
class TransReplayBuffer(size)
is the replay buffer that stores the transition snippet such as size
is for the replay buffer size.
class EpisodeReplayBuffer(size)
is the replay buffer that stores the complete episode such as size
is for the replay buffer size.
The tester.py
provides class PGTester(args, behaviour_net, env, render=False)
that is a driver for testing the trained algorithms. If you would know how to use this class, please see test.py
for details.
The trainer.py
provides class PGTrainer(args, model, env, logger)
that is a driver for training algorithms. If you would know how to use this class, please see train.py
for details.