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
- Host: GitHub
- URL: https://github.com/matin-ghorbani/snake-ai-deep-qlearning
- Owner: matin-ghorbani
- License: mit
- Created: 2024-06-04T15:41:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-04T16:03:07.000Z (over 1 year ago)
- Last Synced: 2024-11-29T17:25:49.096Z (10 months ago)
- Topics: deep-learning, pytorch, q-learning, snake-ai
- Language: Python
- Homepage:
- Size: 521 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```