GithubHelp home page GithubHelp logo

hanbuck30 / rl_mujuco Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 75 KB

RL-MUJOCO uses optimization-based algorithms such as SAC, DDPG, and PPO, as well as bio-plausible algorithms such as Hebbian PPO and Kolen-Pollack PPO to simulate multiple environments within the gym.

Home Page: https://sites.google.com/view/brainxai

License: MIT License

Python 100.00%
bio-plausible-algorithms gymnasium hebbian-learning kolen-pollack rl

rl_mujuco's Introduction

RL_MUJOCO

Example

Back propagation using PPO

bak-prop-ezgif com-video-to-gif-converter

Kolen Pollack using PPO

kolen-ezgif com-video-to-gif-converter

Hebbian using PPO

Hebbian-ezgif com-video-to-gif-converter

Purpose

RL-MUJOCO uses optimization-based algorithms such as SAC, DDPG, and PPO, as well as bio-plausible algorithms such as Hebbian PPO and Kolen-Pollack PPO to simulate multiple environments within the gym.

Files and Directories

config.ini

Configuration file for setting parameters and hyperparameters for the training process.

main.py

The main script to start training and evaluating the agents.

agents

Contains implementations of various reinforcement learning algorithms.

  • __init__.py: Initialization file for the agents module.
  • ddpg.py: Implementation of the Deep Deterministic Policy Gradient (DDPG) algorithm.
  • Hebbianppo.py: Implementation of the Hebbian Proximal Policy Optimization (PPO) algorithm.
  • ppo.py: Implementation of the Proximal Policy Optimization (PPO) algorithm.
  • sac.py: Implementation of the Soft Actor-Critic (SAC) algorithm.

log

Contains logs of training runs for different environments and algorithms.

model_weights

Contains saved model weights for different environments and algorithms.

runs

Contains TensorBoard log files for visualizing training metrics.

utils

Contains utility scripts for noise generation and other helper functions.

  • __init__.py: Initialization file for the utils module.
  • noise.py: Functions for noise generation used in exploration.
  • utils.py: Miscellaneous utility functions.

Usage

  1. Setup: Ensure you have the required dependencies installed.
    pip install -r requirements.txt
    

Implement

You can write the code in the terminal and execute it

python main.py --env_name Ant-v4 --train True --tensorboard True --algo ppo  

Reference

rl_mujuco's People

Contributors

hanbuck30 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

8nero

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.