PyTorch implementation of REINFORCE.
This repo supports both continuous and discrete environments in OpenAI gym.
- python 2.7
- PyTorch
- OpenAI gym
- Mujoco (optional)
Use the default hyperparameters. (Program will detect whether the environment is continuous or discrete)
python main.py --env_name [name of environment]