Skip to content

Implementation of Deep Reinforcement Learning algorithms with Python and PyTorch

License

Notifications You must be signed in to change notification settings

Zulkhuu/reinforcement-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Reinforcement Learning

This repository contains modular implementations of Deep Reinforcement Learning algorithms.

Projects based on Unity Environment

  • Banana Collector: DQN agent collects yellow bananas while avoiding blue bananas.
  • Reacher: DDPG agent controls double-jointed arm to reach ball.
  • Tennis: MADDPG agents control rackets to play Tennis.

Dependencies

To set up your python environment to run the code in this repository, follow the instructions below.

  1. Install conda

  2. Create and activate a new environment with Python 3.6.

    • Linux or Mac:
    conda create --name drlnd python=3.6
    source activate drlnd
    • Windows:
    conda create --name drlnd python=3.6
    activate drlnd
  3. Follow the instructions in this repository to perform a minimal install of OpenAI gym.

    • Next, install the classic control environment group by following the instructions here.
    • Then, install the box2d environment group by following the instructions here.
  4. Clone the repository and install several dependencies.

git clone https://github.com/Zulkhuu/reinforcement-learning.git
cd python
pip install .
  1. Create an IPython kernel for the drlnd environment.
python -m ipykernel install --user --name drlnd --display-name "drlnd"
  1. Before running code in a notebook, change the kernel to match the drlnd environment by using the drop-down Kernel menu.

Future work

  • Collaboration and Competition - Train a pair of agents to play soccer

Resources

Online courses

Textbooks

Papers

About

Implementation of Deep Reinforcement Learning algorithms with Python and PyTorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published