Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jlenon7/breakout_gym_env
- Owner: jlenon7
- License: mit
- Created: 2024-06-12T23:31:02.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T10:31:31.000Z (6 months ago)
- Last Synced: 2024-12-06T07:46:55.146Z (17 days ago)
- Language: Python
- Size: 7.33 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
## 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
```