项目作者: ray5273

项目描述 :
Gym Environment - AvoidShit-v0 , Dodge
高级语言: Python
项目地址: git://github.com/ray5273/gym-avoidshit.git
创建时间: 2020-06-13T12:57:04Z
项目社区:https://github.com/ray5273/gym-avoidshit

开源协议:

下载


1 2 " class="reference-link">Gym-AvoidShit 1 2

This repository contains the Avoid Shit as a gym environment

alt text

Implementation

Works in Ubuntu 18.04
you need to install X11 in linux system.

Installation

In gym-avoidshit directory,

you need to type following command

  1. pip3 install -e .

Test DQN model

There is env.render() in test.py

To render this game,

You need to type following command

  1. DISPLAY=:0 python3 test.py

Version

AvoidShit-1.0

Discrete action space , fixed shit generation, Normalization

1. if you want to run Gym-Dodge, change branch master to dodge
2. if you want to run Continuous Gym-avoidshit, change branch master to continuous