Skip to content

albertocr/openAI-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openAI Experiments

Experiments to try the openAI environments with the gym tool

Getting Started

Prerequisites

What things you need to install the software and how to install them

Ubuntu

$ sudo apt-get install golang python3-dev python-dev libcupti-dev libjpeg-turbo8-dev make tmux htop chromium-browser git cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig
$ wget https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh
$ bash Anaconda3-4.2.0-Linux-x86_64.sh
  • Add anaconda to the PATH
  • Install Docker
$ conda create --name universe python=3.5 anaconda
$ source activate universe

In (universe) env:

(universe) $ conda install pip six libgcc swig
(universe)$ conda install opencv
(universe)$ pip install --upgrade tensorflow
(universe)$ pip install --upgrade tensorflow-gpu
$ git clone https://github.com/openai/gym.git
$ cd gym
$ pip install -e '.[all]'
$ git clone https://github.com/openai/universe.git
$ cd universe
$ pip install -e .

Run Examples

$ python openAI-experiments/example.py

for example: python openAI-experiments/CartPole/cartpole-v0.py

About

experiments to try different openAI environments with the gym tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages