Home

Awesome

DQN-PyTorch

A PyTorch implementation of Human-level control through deep reinforcement learning

Table of Contents:

<!-- Table of contents generated generated by http://tableofcontent.eu -->

Project Structure:

├── agents
|  └── dqn.py # the main training agent for the dqn
├── graphs
|  └── models
|  |  └── dqn.py
|  └── losses
|  |  └── huber_loss.py # contains huber loss definition
├── datasets  # contains all dataloaders for the project
├── utils # utilities folder containing input extraction, replay memory, config parsing, etc
|  └── assets
|  └── replay_memory.py
|  └── env_utils.py
├── main.py
└── run.sh

Environments:

CartPole V0:

Loss during training:

alt text

Number of durations per Episode:

alt text

Usage:

Requirements:

Check requirements.txt.

Future Work:

References:

License:

This project is licensed under MIT License - see the LICENSE file for details.