Git Product home page Git Product logo

hop-reverie-challenge's Introduction

HOP-REVERIE-Challenge

This respository is the code of REVERIE-Challenge using HOP. The code is based on Recurrent-VLN-BERT. Thanks to Yicong Hong for releasing the Recurrent-VLN-BERT code.

Prerequisites

Installation

  • Install docker Please check here to install docker.
  • Create container To pull the image:
    docker pull starrychiao/hop-recurrent:v1
    To create the container:
    docker run -it --ipc host  --shm-size=1024m --gpus all --name your_name  --volume "your_directory":/root/mount/Matterport3DSimulator starrychiao/hop-recurrent:v1
  • Set up
    docker start "your container id or name"
    docker exec -it "your container id or name" /bin/bash
    cd /root/mount/Matterport3DSimulator

Data Preparation

Please follow the instructions below to prepare the data in directories:

  • MP3D navigability graphs: connectivity

  • MP3D image features: img_features

  • REVERIE data: data_v2

  • After downloading data you should see the following folder structure:

    ├── data_v2
    │   └── BBoxS
    │       └── reverie_obj_feats_v2.pkl
    │   └── BBoxes_v2
    ├── REVERIE_train.json
    ├── REVERIE_val_seen.json
    ├── REVERIE_val_unseen.json
    ├── REVERIE_test.json
    └── objpos.json

Initial HOP weights

  • Pre-trained HOP weights: load/hop
    • Download the pytorch_model.bin from here.

Training

bash run/agent.bash

Evaluating

  • To generate submit_test.json
bash run/test.bash
  • You can also evaluate results on REVERIE seen and REVERIE unseen splits.
python ./r2r_src/eval.py

hop-reverie-challenge's People

Contributors

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