GithubHelp home page GithubHelp logo

stubborn's Introduction

Stubborn: A Strong Baseline for Habitat ObjectNav Challenge

This is the implementation of the Stubborn Agent (yuumi_the_magic_cat on the Habitat Challenge Leaderboard). It uses relatively simple strategies but achieved a strong result (0.237 success rate and 0.098 SPL). We release the code here to help the Robotic community by providing them with a strong baseline that they can both compete against or work from.

Overview:

The Stubborn Agent is modified from Goal-Oriented-Semantic-Policy and makes improvement in exploration strategy, untrapping strategy, and object detection strategy, which are discueed in details in the paper.

example

The core of the code in located in Stubborn/agent.

Stubborn/agent/stubborn_agent.py contains the implementation of the stubborn agent;

Stubborn/agent/agent_state.py contains implementation of the global goal module and goal detection module;

Stubborn/agent/mapping_module.py contains implementation of the mapping module;

Stubborn/agent/agent_helper.py contains implementation of the path planning module.

Requirements

We use Docker to run the code, therefore users don't need to manually install any dependencies. Users need to download pretrained weights and environment dataset before they can run the code.

Pretrained Weights

Users can download pretrained weights for RedNet here. Download the rednet_semmap_mp3d_tuned.pth file and place it in Stubborn.

Users can download data used to train the Object Detection Module here. Place obj_id_data.pickle into the Stubborn folder.

Downloading scene dataset

  • Download the Matterport 3D dataset using the instructions here

  • Move the Matterport 3D scene dataset or create a symlink at data/scene_datasets/mp3d.

  • Download the Matterport 3D Object Navigation Task Data here.

  • Move the task dataset to data/datasets

  • The data folder should look like this:

Stubborn/
  data/
    scene_datasets/
      mp3d/
        17DRP5sb8fy
        1LXtFkjw3qL
        ...
    datasets/
      objectnav/
        mp3d/
          v1/
            train/
            val/
            val_mini/

Test setup

To verify that the data is setup correctly, run:

sh remote_submission_run.sh

The agent should get 0.233 Success, 0.139 SPL and 4.301 DTG.

Related Projects

stubborn's People

Contributors

haokuanluo avatar

Watchers

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