Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jlenon7/breakout_gym_env

🏋️ Exploring OpenAI gym environment for reinforcement learning algorithms.
https://github.com/jlenon7/breakout_gym_env

Last synced: 9 days ago
JSON representation

🏋️ Exploring OpenAI gym environment for reinforcement learning algorithms.

Awesome Lists containing this project

README

        

# OpenAI Breakout Gym Environment 🏋️

> Exploring OpenAI gym environment with Breakout game to learn reinforcement learning algorithms.

## Goals

Learn more about reinforcement learning algorithms.

## Results

Sample

## TODOs

- [ ] Train the model
- [ ] Save the model to be reused with a library like [stable-baselines](https://stable-baselines3.readthedocs.io/en/master/)

## Running

To run the gym environment first create a new Python environment and activate it. I'm using [Anaconda](https://www.anaconda.com/) for setting the python version that pipenv should use to set up the environment. The command bellow will automatically setup the environment with conda and pipenv:

```shell
make env
```

Now install all the project dependencies and Atari ROMS:

```shell
make install-all
```

To run the game to be played by a human run:

```shell
make play
```

To run the game and run random actions run:

```shell
make sample
```