Giter Club home page Giter Club logo

rlforutracking's Introduction

Deep Reinforcement Learning methods for Underwater target Tracking

This is a set of tools developed to train an agen (and multiple agents) to find the optimal path to localize and track a target (and multiple targets).

The Deep Reinforcement Learning (RL) algorithms implemented are:

  • Deep Deterministic Policy Gradient (DDPG)
  • Twin-Delayed DDPG (TD3)
  • Soft Actor-Critic (SAC)

The environment to train the agents is based on the OpenAI Particle.

The main objective is to find the optimal path that an autonomous vehicle (e.g. autonomous underwater vehicles (AUV) or autonomous surface vehicles (ASV)) should follow in order to localize and track an underwater target using range-only and single-beacon algorithms. The target estimation algorithms implemented are based on:

  • Least Squares (LS)
  • Particle Filterse (PF)

An example of a trained agent can be seen below.

Legend: Blue dot = agnet, Black dot = target, and Red dot = predicted target position using LS

Installation Instructions

Follow the next instructions to set up a Windows computer to run the algorithms.

$ conda create -n <env-name> python=3.6
$ conda activate <env-name>
$ conda install git
$ conda install -c conda-forge ffmpeg
$ pip install gym==0.10.0
$ conda install pytorch==1.5.0 torchvision==0.6.0 cudatoolkit=9.2 -c pytorch
$ pip install tensorflow==2.1.0
$ pip install tensorboardX
$ pip install imageio
$ pip install progressbar
$ pip install pyglet==1.3.2
$ pip install cloudpickle
$ pip install tqdm
$ conda install matplotlib

Then type git clone, and paste the project URL, to clone this repository in your local computer.

$ git clone https://github.com/imasmitja/DRLforUTracking

Execution Instructions

Train the DRL network:

$ python main.py <configuration file>

While the DRL is training you can visualize the polots on tensorBoard by:

$ tensorboard --logdir=./log/<configuration file> --host=127.0.0.1

Then (Run in web):

http://localhost:6006/

See a trained agent:

$ python see_trained_agent.py <configuration file>

Note: <configuration file> without extension

An example of the <configuration file> can be found here

Additional information

This repositori is part of the Artificial Intelligence methods for Underwater target Tracking (AIforUTracking) project (ID: 893089) from a Marie Sklodowska-Curie Indvidual Fellowship. More info can be found here.

Acknowledgements

Anyone using DRLforUTracking data for a publication or project acknowledges and references this [forthcoming] publication.

“This project has received funding from the European Union’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 893089.”

Collaborators

               

rlforutracking's People

Contributors

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