Skip to content

Reinforcement Learning exam project - "Sapienza" University of Rome, Fall Semester 2019

License

Notifications You must be signed in to change notification settings

giabb/reinforcement-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement Learning using SAC algorithm and Ant-v2 gym environment

This project has been developed during the 2019 Reinforcement Learning Course held py Prof. Capobianco at Sapienza University of Rome.

The algorithm used in this project is the Soft Actor-Critic algorithm . More details on the implementation in the next sections.

Summary

Getting Started

The project contains only a Jupyter Notebook file. Meet the prerequisite and use it.

Prerequisites

  • Python 3.5+
  • Jupyer pip install jupyterlab
  • MuJoCo
    • I suggest this article to install it. It worked on Ubuntu 18.04, Python 3.7.5 and mujoco200.
    • You will need a MuJoCo license.
  • Gym pip install gym
  • Stable Baselines installation
  • Numpy pip install numpy
  • Scipy pip install scipy
  • TQDM pip install tqdm

Some specifications

The environment where the tests are taken is the MuJoCo environment Ant-v2 . The target of this environment is to let the Ant walk as fast as possible, as long as possible. The ant is a hierarchical structure with the "torso" as the main object, and the 4 legs as the children:

img_ant

The observation space is a 111-dim space:

Total dimension 111
Torso Height 1
Torso Orientation 4
Joint Angles 8
Velocities (angular + linear) 6
Joint Velocities 8
External Forces 84

The reward function is defined here .

You can find a video of the final execution here .

Authors

  • Giovanbattista Abbate - giabb

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Billie Thompson - Provided README Template - PurpleBooth

About

Reinforcement Learning exam project - "Sapienza" University of Rome, Fall Semester 2019

Topics

Resources

License

Stars

Watchers

Forks