Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/louis030195/xmoto-gym

OpenAi's gym environment for Xmoto game - reinforcement learning research
https://github.com/louis030195/xmoto-gym

artificial-intelligence deep-learning deep-neural-networks deeplearning machine-learning machinelearning python reinforcement-learning

Last synced: 12 days ago
JSON representation

OpenAi's gym environment for Xmoto game - reinforcement learning research

Awesome Lists containing this project

README

        

# Xmoto AI

![](https://img.shields.io/pypi/v/gym_xmoto.svg?style=flat)

OpenAi Gym with Xmoto !

# Actions
- W = ADVANCE
- A = LIFT FRONT WHEEL
- S = BRAKE
- D = LIFT BACK WHEEL
- SPACE = change direction
- NA = no action

# Observations
- Screen pixels (200, 150, 3)

# Installation

```
pip install gym_xmoto
sudo apt-get install faketime
sudo apt-get install xmoto
```

# Usage

Example

```
python example.py
```
For more details check [this](https://github.com/louis030195/xmoto_learning)

## Docker
(Currently doesn't work Seg fault at example in run)
```
docker build .
docker run -p 5900:5900
vncviewer localhost:5900
```

**Second agent:**
```
docker run -p 5901:5900
vncviewer localhost:5901
```

...

## Roadmap
- [ ] More observations from Xmoto API
- [ ] Better score detection performance
- [ ] Synchronisation algorithm - faketime
- [ ] Distributed training
- [x] Reward on hit apple (decrease score)