Sign inSign up

davemssavage/torch-twrl

By davemssavage

Updated almost 10 years ago

https://github.com/davemssavage/torch-twrl

Image
0

260

davemssavage/torch-twrl repository overview

Dockerfile

Launch torch twrl development environment:

docker run -it davemssavage/torch-twrl bash

For easy integration with open ai gym use davemssavage/gym-http-api

Launch open-ai-gym server:

docker run --rm -it --name gym-http-api davemssavage/gym-http-api

Launch torch twrl development environment:

docker run --rm -it --link gym-http-api torch-twrl bash
cd torch-twrl
th run.lua    \
    -env 'CartPole-v0'\
    -policy categorical\
    -learningUpdate reinforce\
    -model mlp\
    -optimAlpha 0.9\
    -timestepsPerBatch 1000\
    -stepsizeStart 0.3\
    -gamma 1\
    -nHiddenLayerSize 10\
    -gradClip 5\
    -baselineType padTimeDepAvReturn\
    -beta 0.01\
    -weightDecay 0\
    -windowSize 10\
    -nSteps 1000\
    -nIterations 1000\
    -video 100\
    -optimType rmsprop\
    -verboseUpdate true\
    -uploadResults false\
    -renderAllSteps false\
    -gymHttpServer http://gym-http-api:5000

Tag summary

Content type

Image

Digest

Size

410.2 MB

Last updated

almost 10 years ago

docker pull davemssavage/torch-twrl