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

https://github.com/matin-ghorbani/snake-ai-deep-qlearning

Implement a snake AI with deep Q learning using PyTorch
https://github.com/matin-ghorbani/snake-ai-deep-qlearning

deep-learning pytorch q-learning snake-ai

Last synced: 8 months ago
JSON representation

Implement a snake AI with deep Q learning using PyTorch

Awesome Lists containing this project

README

          

# Snake-AI-Deep-QLearning
Implement a snake AI with deep Q learning using PyTorch

## How to run
#### First clone the repository
```bash
git clone https://github.com/matin-ghorbani/Snake-AI-Deep-QLearning.git
cd Snake-AI-Deep-QLearning
```

#### Then install the dependencies
```bash
pip install -r requirements.txt
```

#### After that you can run the `agent.py` file by this command
```bash
python agent.py
```