← 开源

Deep Q-learning for playing flappy bird game

Model DevelopmentReinforcement LearningPython
增长势头
+024 小时新增 Star0.0%
558
Star
135
Fork
+0
本周
1
贡献者
创建于 2019-04-15 · 更新于 2026-11-17 · 今日第 21964 名
主要开发者
README

[PYTORCH] Deep Q-learning for playing Flappy Bird

Introduction

Here is my python source code for training an agent to play flappy bird. It could be seen as a very basic example of Reinforcement Learning's application.


Result

How to use my code

With my code, you can:

  • Train your model from scratch by running python train.py
  • Test your trained model by running python test.py

Trained models

You could find my trained model at trained_models/flappy_bird

Requirements

  • python 3.6
  • pygame
  • cv2
  • pytorch
  • numpy
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载