guidefreitas / pytorch.rl.learning

for learning reinforcement learning using PyTorch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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

About

for learning reinforcement learning using PyTorch.


Languages

Language:Python 100.0%