Pytorch REINFORCE Save

PyTorch Implementation of REINFORCE for both discrete & continuous control

Project README

PyTorch REINFORCE

PyTorch implementation of REINFORCE.
This repo supports both continuous and discrete environments in OpenAI gym.

Requirement

  • python 2.7
  • PyTorch
  • OpenAI gym
  • Mujoco (optional)

Run

Use the default hyperparameters. (Program will detect whether the environment is continuous or discrete)

python main.py --env_name [name of environment]

Experiment results

continuous: InvertedPendulum-v1

discrete: CartPole-v0

Reference

Open Source Agenda is not affiliated with "Pytorch REINFORCE" Project. README Source: chingyaoc/pytorch-REINFORCE
Stars
259
Open Issues
5
Last Commit
7 years ago

Open Source Agenda Badge

Open Source Agenda Rating