Learn R Programming

gym (version 0.1.0)

upload: 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

Run this code
## 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)

Run the code above in your browser using DataLab