Giter VIP home page Giter VIP logo

deeprl's Introduction

Deep Q-Learning

by Ilze Amanda Auzina ([email protected]) and Suzanne Bardelmeijer([email protected])

Abstract

This document contains the final report on the course Learning Machines given at the Vrije Universiteit Amsterdam in January 2020. Deep Q-Learning learn-ing method was investigated as an optimal solution for three tasks: (1) obstacle avoidance, (2) foraging and (3) predator-prey behaviour. The performance wasevaluated both in simulation and in real-life. The final results indicate that the chosen method is an appropriate solution for the tasks at hand, as the goal of eachtask was achieved. The reality-gap caused minor difficulties, however they were overcome as the project progressed. Therefore, the present papers confirms theexisting literature that deep-reinforcement learning can be successfully applied to learning machines both in simulation and real-life.

For a complete explanation of the model/implementation and the findings, please read the report.pdf.

Contents

This repository contains partial code to run DeepRF simulations in software VREP (CoppeliaSim EduV4.0.0), and in hardware, ’Robobo’ an educational robot. Code is written in python 2.7 and the package ’Tensorflow 2.2.4.’ was used for the designs ofthe neural networks.

The repository only contains the relevant code for the model itslef (not all the depencies for the hardware and simulation software to run).

src directory

  • send_commands.py contains the training and execution mode for 3 expriments

nn_network

  • nn.py containts the 'controller' (model architecture, optimization algoritm used)

Results

For some fun insights here are some gifs of results. Prey was marked in red, hence the preditor had to detec red color:

Simulation Reality

The preditor was marked in green. Hence the prey had to learn to detect and 'run-away' from color green:

Simulation Reality

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.