Skip to content

Files

Latest commit

7f0ec0d · Nov 10, 2018

History

History
20 lines (16 loc) · 465 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 465 Bytes

Flappy Bird RL environment with Segmentation and Detection

Installation

pip install git+git://github.com/cxy1997/Flappy-Bird-with-Segmentation.git

Usage

from Flappy_Bird_with_Segmentation import FlappyBirdSegEnv

env = FlappyBirdSegEnv()
obs, info = env.reset()
obs, reward, terminal, info = env.step(0)  # 1-flap the bird; 0-do nothing

Have fun!