Skip to content

Package for recording Transitions in OpenAI Gym Environments.

License

Notifications You must be signed in to change notification settings

alxschwrz/gym_dataset_recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gym-dataset-recorder

Package for recording transitions in OpenAI Gym Environments and generating datasets from them.

Installation

git clone https://github.com/alxschwrz/gym-dataset-recorder.git
cd gym-dataset-recorder
pip3 install -e .

Run example

python3 example.py

Recorded data is stored as csv-file containing the following information:

  • observations: An [N x observation] dimensional array of observations.
  • actions: An [N x action] dimensional array of actions.
  • terminals: An [N x dimensional] array of episode termination flags. This is true when episodes end due to termination conditions such as falling over.
  • rewards: An [N] dimensional array of rewards.
  • next_observations: (optional) An [N x observation] dimensional array of the following observations.
  • goal: (optional) An [N] dimensional array of the current goals
  • infos: An [N] dimensional dict containing optional task-specific debugging information.

About

Package for recording Transitions in OpenAI Gym Environments.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages