edwinzhng / reinforcement-learning

Implementations of deep reinforcement learning algorithms using TensorFlow 2 and OpenAI Gym

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reinforcement Learning

Implementations of deep reinforcement learning algorithms using Tensorflow 2.0 and OpenAI Gym.

Setup

Install Anaconda for Python 3.7

Create an Anaconda environment

conda create -n rl python=3.7

Activate the Anaconda environment

conda activate rl

Install Dependencies

pip install -r requirements.txt

Running An Agent

python src/main.py --agent NETWORK_NAME --env ENV_NAME
  • Available agents: DQN, A2C, PPO
  • Supported environments: CartPole-v1, Acrobot-v1, MountainCar-v0
  • Render the OpenAI Gym environment with --render
  • Enable GPUs for training with --gpu
  • Normalize environment observations with --normalization
  • Set number of training episodes with --episodes

References & Code Used

Algorithms Implemented

About

Implementations of deep reinforcement learning algorithms using TensorFlow 2 and OpenAI Gym


Languages

Language:Python 100.0%