Giter Club home page Giter Club logo

cem-ah's Introduction

Cross-Entropy Guided Adversarial Hypernetwork for Modeling Policy Distribution

This repository is the official implementation of CEM-AH. This work is owned by the authors of the paper submitted to NeurIPS 2020 (under review).

Usage

Run the following for maze experiment.

python CEM_AH_discreteAction.py --lr 1e-4 --layer 2 --batch_size 100

Run the following for reacher experiment.

python CEM_AH_continuousAction_reacher.py --lr 1e-4 --layer 2 --batch_size 100

Run the following for pybullet-gym experiments (ant, walker).

python CEM_AH_continuousAction_pybullet.py --lr 1e-4 --layer 2 --batch_size 100 --exp_name 'AntPyBulletEnv-v0'
python CEM_AH_continuousAction_pybullet.py --lr 1e-4 --layer 2 --batch_size 100 --exp_name 'Walker2DPyBulletEnv-v0'

The experiments are done with the following hyper-parameters. Learning rate (--lr) {0.001, 0.005,0.0001}, batch size (--batch_size) {50, 100, 1000}, and number of neural network layers (--layer) {2, 3}.

The train and evaluation are done within the same execution. Evaluation is done at each training iteration to measure the performance gain over the guiding CEM at any step (if we were to stop the training). It signifies faster convergence and confirm that we can use our algorithm with relatively few episodes of training. Similarly, other RL algorithm has exploration and exploitation strategies, so we compare the performance of algorithms which are typically using greedy exploitation during testing at any stage.

Log data is generated at 'CEM-AH' folder. Which could be visualized by running tensorboard i.e.

tensorboard --logdir=CEM-AH

cem-ah's People

Contributors

cem-ah avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.