Giter VIP home page Giter VIP logo

sparcereward's Introduction

SparceReward

This package provides comprehensive tools for examining rl algorithms on sparce and non-sparce environments.

At current version, we only offer Mujoco environment for tests. Current supported algorithms are as follows:

1- https://arxiv.org/pdf/1801.01290.pdf

2- https://arxiv.org/pdf/1706.01905.pdf

3- https://arxiv.org/pdf/1509.02971.pdf

4- ...

In the directory engine/reward_modifier, we provide different sparcity version for environments.

The typical code to run the program is as follows:

python3 main.py

If you want to change the environment you should type:

python3 main.py --env_name Ant-v2 The environments by defualt are non-sparce. You can make argument sparce by using the following command:

python3 main.py --env_name Ant-v2 --sparse_reward --threshold_sparcity 0.05 where --sparse_reward makes the environment's reward sparce and --threshold_sparcity determines the extent of sparcity.

If you want to change the algorithm to run:

python3 main.py --env_name --algo SAC

Defualt algorithm is DDPG. Current supported algorithms are: --algo SAC, --algo DDPG, --algo DDPG_PARAM

If you want to change the parameters of specific algorithm (for example SAC) you should write:

python3 main.py --env_name --algo SAC --tau_sac 1

which changes the tau parameter of SAC algorithm. Detailed information regarding the different setting of algorithms can be found in main.py argparser. We have provided detailed documentation for each parameter.

sparcereward's People

Contributors

h-aboutalebi avatar susan-amin avatar

Stargazers

 avatar  avatar Che Guoliang avatar XBetter avatar

Watchers

James Cloos avatar  avatar paper2code - bot 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.