ghliu/pytorch-ddpg
ghliu/pytorch-ddpg has 636 GitHub stars and 159 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 15:12 UTC. Last push 2018-08-13.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
Implementation of the Deep Deterministic Policy Gradient (DDPG) using PyTorch
Machine LearningREADME.md
Original====== Deep Deterministic Policy Gradient on PyTorch
Overview
The is the implementation of Deep Deterministic Policy Gradient <https://arxiv.org/abs/1509.02971>_ (DDPG) using PyTorch <https://github.com/pytorch/pytorch>. Part of the utilities functions such as replay buffer and random process are from keras-rl <https://github.com/matthiasplappert/keras-rl> repo. Contributes are very welcome.
Dependencies
- Python 3.4
- PyTorch 0.1.9
OpenAI Gym <https://github.com/openai/gym>_
Run
Training : results of two environment and their training curves:
- Pendulum-v0
.. code-block:: console
$ ./main.py --debug.. image:: output/Pendulum-v0-run0/validate_reward.png :width: 800px :align: left :height: 600px :alt: alternate text
- MountainCarContinuous-v0
.. code-block:: console
$ ./main.py --env MountainCarContinuous-v0 --validate_episodes 100 --max_episode_length 2500 --ou_sigma 0.5 --debug.. image:: output/MountainCarContinuous-v0-run0/validate_reward.png :width: 800px :align: left :height: 600px :alt: alternate text
Testing :
.. code-block:: console
$ ./main.py --mode test --debug