Skip to content

hyounghk/ArraMon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArraMon / ऐरेमौन

Code/dataset/simulator for EMNLP 2020 findings paper "ArraMon: A Joint Navigation-Assembly Instruction Interpretation Task in Dynamic Environments" Hyounghun Kim, Abhay Zala, Graham Burri, Hao Tan, Mohit Bansal.

arramonunc.github.io

Image

*Hindi dataset is being added (val-seen and val-unseen splits are uploaded in data folder).

Prerequisites

Simulator Setup:

The simulator will come soon.

Usage

To train the model:

python src/main.py --port PORT --batch_size BATCH_SIZE --sim_num SIM_NUM

PORT: port number (should be matched to the port number of the simulator).
BATCH_SIZE: batch size.
SIM_NUM: the number of simulators to run.

Then, run the simulator (note that the model should be started first, then the simulator next).

Sim on CPU

cd simulator
sh run.sh SIM_NUM SIM_BATCH PORT

SIM_BATCH: batch size of each sim. Equal to BATCH_SIZE/SIM_NUM.

Sim on GPU

cd PATH_TO_THE_SIM/build

put run_gpu_sim.sh in PATH_TO_THE_SIM/build.

sh run_gpu_sim.sh SIM_NUM SIM_BATCH PORT

* Note: Currently, sim-gpu only supports SIM_NUM=1.

Pre-Recorded Image Features

If you are using teacher-forcing training and want to reduce training time, please consider using pre-recorded image features. Please download the image features from here and the position data from here and unzip in the root folder.

Use this command to run the model:

python src/main_nosim.py --port PORT --batch_size BATCH_SIZE --batch_size_val BATCH_SIZE_VAL --sim_num SIM_NUM

BATCH_SIZE_VAL: batch size of validation dataset split.

This allows you to train your model with pre-recorded features and evaluate it with data from the simulator.

Evaluation on Test split

Please contact arramonunc@gmail.com for the test split.

Citation

@inproceedings{Kim2020ArraMonAJ,
  title={ArraMon: A Joint Navigation-Assembly Instruction Interpretation Task in Dynamic Environments},
  author={Hyounghun Kim and Abhaysinh Zala and Graham Burri and Hao Tan and Mohit Bansal},
  booktitle={Findings of EMNLP},
  year={2020}
}

Acknowledgments

The nDTW calculation code is borrowed from the R4R code repository.
Some code is from "Expressing Visual Relationships via Language" paper's code repository.

Disclaimers

We use mapbox for our map data. It it required to add the mapbox logo when you publish any image from the map. So please use the image file below to place the logo in images that you publish for visualiztion.
maobox Logo

About

Code/dataset/simulator for EMNLP 2020 findings paper "ArraMon: A Joint Navigation-Assembly Instruction Interpretation Task in Dynamic Environments" Hyounghun Kim, Abhay Zala, Graham Burri, Hao Tan, Mohit Bansal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors