Giter Club home page Giter Club logo

safe-reinforcement-learning-for-black-box-systems-using-reachability-analysis's Introduction

Safe-Reinforcement-Learning-for-Black-Box-Systems-Using-Reachability-Analysis

This repository contains the code for the paper Safe Reinforcement Learning Using Black-Box Reachability Analysis. Demo video

Short Video for describing the idea

Video

Installation

The repository provides two ros packages: brsl and brsl_msgs. To get everything up and running, we need to install ros and some other dependencies. Everything is tested on ubuntu 20.04 LTS

Ros Installation.

you can find the installation steps for ros in the official link.

Libraries Installation

You need to install the following libraries.

python -m pip install absl-py
python -m pip install gin
python -m pip install tensorflow
python -m pip install gin-config
python -m pip install tf-agents
python -m pip install scipy
python -m pip install joblib
python -m pip install tensorboardX
python -m pip install torch
python -m pip install omegaconf==2.0
python -m pip install hydra-core==1.1.0
python -m pip install mbrl==v0.1.4

If you want to utilize gpu for your training, you should install tf-gpu and torch cuda instead.

Usage

To run the agents, first, make a catkin_ws.

cd
mkdir -p catkin_ws/src
cd catkin_ws
catkin_make

Then copy both brsl and brsl_msgs to catkin_ws/src in your home directory.

Finally, run:

cd ~/catkin_ws/src
catkin_make

This should build the repository.

To run the scripts, go to your catkin_ws directory, source the workspace, and run both the environment and the launch script for the agent.

roscore

Then, in a second terminal run the environment:

cd ~/catkin_ws
source devel/setup.bash
rosrun brsl Turtlebot_environment

Finally, open a third terminal and run the agent

cd ~/catkin_ws
source devel/setup.bash
roslaunch brsl turtlebot.launch

safe-reinforcement-learning-for-black-box-systems-using-reachability-analysis's People

Contributors

mahmoud-selim avatar roma160 avatar aalanwar avatar yeetthefirst21 avatar

Stargazers

BacaPutera avatar

Watchers

BacaPutera 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.