Skip to content

Aravind-11/RL-with-CBF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RL-with-CBF

Install the dependancies

pip install -r requirements.txt

To run the PPO code (tested on Cartpole Environment - discrete action space)

python ppo.py --track --capture-video 

For continous action space

python ppo_continous.py --track --capture-video

Use Wanb library to visualise the loss functions and model performance

To test on custom enviroments

  • Create an environment in OpenAI Gym format
  • Wrap it using gym.make() function and test it for Gym compatibility
  • Vectorise the environment and run the PPO code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published