Git Product home page Git Product logo

robot-visual-navigation's Introduction

Visual Navigation in Real-World Indoor Environments Using End-to-End Deep Reinforcement Learning

This repository contains the official implementation of paper Visual Navigation in Real-World Indoor Environments Using End-to-End Deep Reinforcement Learning.

Paper    Web    Demo


Open In Colab Python Versions


Getting started

Before getting started, ensure, that you have Python 3.6+ ready. We recommend activating a new virtual environment for the repository:

python -m venv robot-visual-navigation-env
source robot-visual-navigation-env/bin/activate

Start by cloning this repository and installing the dependencies:

git clone https://github.com/jkulhanek/robot-visual-navigation.git
cd robot-visual-navigation
pip install -r requirements.txt
cd python

For DMHouse package, we recommend starting with Ubuntu 18+ and installing dependencies as follows:

apt-get install libsdl2-dev libosmesa6-dev gettext g++ unzip zip curl gnupg libstdc++6

Downloading the trained models and datasets

You can download the pre-trained models from: https://data.ciirc.cvut.cz/public/projects/2021RealWorldNavigation/checkpoints/dmhouse-models.tar.gz https://data.ciirc.cvut.cz/public/projects/2021RealWorldNavigation/checkpoints/turtlebot-models.tar.gz

Download the pre-trained models using the following commands:

mkdir -p ~/.cache/robot-visual-navigation/models

# Download DMHouse models
curl -L https://data.ciirc.cvut.cz/public/projects/2021RealWorldNavigation/checkpoints/dmhouse-models.tar.gz | tar -xz -C ~/.cache/robot-visual-navigation/models

# Download real-world dataset models
curl -L https://data.ciirc.cvut.cz/public/projects/2021RealWorldNavigation/checkpoints/turtlebot-models.tar.gz | tar -xz -C ~/.cache/robot-visual-navigation/models

# Download real-world dataset
mkdir -p ~/.cache/robot-visual-navigation/datasets
curl -L -o ~/.cache/robot-visual-navigation/datasets/turtle_room_compiled.hdf5 https://data.ciirc.cvut.cz/public/projects/2021RealWorldNavigation/datasets/turtle_room_compiled.hdf5

Evaluation

Run the evaluation on the DMHouse simulator to verify that everything is working correctly:

python evaluate_dmhouse.py dmhouse --num-episodes 100

Similarly for the real-world dataset:

python evaluate_turtlebot.py turtlebot --num-episodes 100

Alternatively, you can also use other agents as described in the Training section.

Training

Start the training by running ./train.py <trainer>, where trainer is the experiment you want to run. Available experiments are the following:

  • dmhouse: our method (A2CAT-VN) trained with the dmhouse simulator
  • dmhouse-unreal: UNREAL trained with the dmhouse simulator
  • dmhouse-a2c: PAAC trained with the dmhouse simulator
  • turtlebot: our method (A2CAT-VN) fine-tuned on the real-world dataset
  • turtlebot-unreal: UNREAL fine-tuned on the real-world dataset
  • turtlebot-a2c: PAAC fine-tuned on the real-world dataset
  • turtlebot-noprior: our method (A2CAT-VN) trained on the real-world dataset; the model is trained from scretch
  • turtlebot-unreal-noprior: UNREAL trained on the real-world dataset; the model is trained from scretch
  • turtlebot-a2c-noprior: PAAC trained on the real-world dataset; the model is trained from scretch

Model checkpoints

All model checkpoints are available online:
https://data.ciirc.cvut.cz/public/projects/2021RealWorldNavigation/checkpoints

Citation

Please use the following citation:

@article{kulhanek2021visual,
  title={Visual navigation in real-world indoor environments using end-to-end deep reinforcement learning},
  author={Kulh{\'a}nek, Jon{\'a}{\v{s}} and Derner, Erik and Babu{\v{s}}ka, Robert},
  journal={IEEE Robotics and Automation Letters},
  volume={6},
  number={3},
  pages={4345--4352},
  year={2021},
  publisher={IEEE}
}

robot-visual-navigation's People

Contributors

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