Giter Site home page Giter Site logo

duckietown's Introduction

duckduck

Duckietown reinforcement learning project

Team name: Syntax Terror

Medium cikket fogunk írni, valamint már van aláírásunk előző félévből, Csapó Tamás Gáborral megbeszéltük, hogy leadhatjuk a vizsgáig a házit.

Members:

  • Istenes Dóra PQ08W1
  • Kenesei Benjámin MS725L
  • Suciu Barnabás ASOG9J

The aim of this project is to train a reinforcement learning agent in a simulated autonomous driving environment. The agent is referred to as a "duckiebot", and it is trained using reinforcement learning in the simulator, then it can be transferred to a real model vehicle in the physical test environment.

The repository contains the simulation environment, and the scripts and configuration files necessary for the trainig.

Setup and simulation

After installing the packages specified in the requirements file, the simulation environment can be started with the following command:

python manual_control.py --env-name Duckietown-udem1-v0

The running application looks like this with the default config: image

Training

After fixing several errors related to outdated code, and moving train_reinforcement.py and enjoy_reinforcement.py scripts from /learning/reinforcement/pytorch to /learning, we can run the training with the following command:

python3 train_reinforcement.py

The training should finish like this:

image

This generates a model in the following folder: learning/reinforcement/pytorch/models.

Evaluation is done by running the following script, which simulates the agent in the environment:

python3 enjoy_reinforcement.py

Metrics can also be found in the results folder, in the rewards.npz file.

duckietown's People

Contributors

barna22 avatar

Watchers

Benjamin Kenesei avatar Kostas Georgiou avatar  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.