upload {gym} | R Documentation |
Flush all monitor data to disk.
Description
Flush all monitor data to disk.
Usage
upload(x, training_dir, api_key = NULL, algorithm_id = NULL)
Arguments
x |
An instance of class "GymClient"; this object has "remote_base" as an attribute. |
training_dir |
A directory containing the results of a training run. |
api_key |
Your OpenAI API key. |
algorithm_id |
An arbitrary string indicating the paricular version of the algorithm (including choices of parameters) you are running. |
Value
NULL.
Examples
## Not run:
remote_base <- "http://127.0.0.1:5000"
client <- create_GymClient(remote_base)
outdir <- "/tmp/random-agent-results"
upload(client, outdir)
## End(Not run)
[Package gym version 0.1.0 Index]