https://github.com/zmh-program/z-rlsnake
🐍 A snake game using Pytorch and Numpy (old-version using Pygame). 🐍 基于pytorch和numpy的贪吃蛇强化学习模型
https://github.com/zmh-program/z-rlsnake
deep-reinforcement-learning dqn machine-learning ppo pygame pytorch pytorch-dqn pytorch-ppo
Last synced: 10 months ago
JSON representation
🐍 A snake game using Pytorch and Numpy (old-version using Pygame). 🐍 基于pytorch和numpy的贪吃蛇强化学习模型
- Host: GitHub
- URL: https://github.com/zmh-program/z-rlsnake
- Owner: zmh-program
- License: mit
- Created: 2022-10-24T02:25:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T14:30:36.000Z (about 3 years ago)
- Last Synced: 2025-03-27T13:38:47.519Z (10 months ago)
- Topics: deep-reinforcement-learning, dqn, machine-learning, ppo, pygame, pytorch, pytorch-dqn, pytorch-ppo
- Language: Python
- Homepage:
- Size: 15.4 MB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## RL-Snake
### 🐍 A snake game using Pytorch and Numpy
#### 🎢Versions Compare
| Pygame Render FPS | min | max | average |
| ----------------- | ----- | ----- | ------- |
| native (v1.0-) | 8.27 | 80.71 | 38.90 |
| numpy (v1.0+) | 398.2 | 808.3 | 502.8 |
- 📚 params:
| snakes | coins |
| ------ | ----- |
| 20 | 1000 |
- 🌴 data from:
| system | RAM | CPU | GPU |
| ------ | --- | ------------------------------------------- | -------------------------------------- |
| Win10 | 4 G | Intel(R) Core(TM) i5-6500 @3.2GHz - 4 Cores | Nvidia Geforce GT 720 - 8G (public 4G) |