Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.

for learning reinforcement learning using PyTorch.

Notifications You must be signed in to change notification settings

moskomule/pytorch.rl.learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

This repository is for learning reinforcement learning using PyTorch.

how to use

Set this root dir as PYTHONPATH.

export PYTHONPATH=$(pwd)

Contents

predl

predl contains some algorithms without Deep Learning. Here, PyTorch is just numpy-alternative.

dl

dl contains some algorithms using DL.

  • Deep Q-Network
    cd dl/dqn
    python exec.py [--env Pong ...] # `python exec.py -h` for help
    ---
    tensorboard log_dir runs
    

Dependencies

  • gym
    • gym requires a lot depends on your environment thus read the official document before using pip.
  • PyTorch
  • matplotlib
  • tensorboard-pytorch
    • pip install tensorboardX

References

  • UCL Course on RL by David Silver, DeepMind.

    • I mainly learned RL in this lecture.
    • Lecture videos are available on YouTube
  • Richard S. Sutton and Andrew G. Barto Reinforcement Learning: An Introduction. 2017.

  • Introduction to reinforcement learning and OpenAI Gym by Justin Francis

    • Good introduction to OpenAI Gym
  • 牧野貴樹ほか.これからの強化学習.2016.

    • 基礎から応用まで扱っています