资源算法pytorch-REINFORCE

pytorch-REINFORCE

2019-10-11 | |  95 |   0 |   0

PyTorch REINFORCE

algo.png

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

InvertedPendulum-v1.png

discrete: CartPole-v0

CartPole-v0.png

Reference




上一篇:pytorch-poetry-gen

下一篇:PyTorch-Tutorial

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...