upload: Flush all monitor data to disk.

Description Usage Arguments Value Examples

Description

Flush all monitor data to disk.

Usage

1
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

1
2
3
4
5
6
7
## 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)

gym documentation built on May 1, 2019, 9:26 p.m.

Related to upload in gym...