Skip to content

Our goal is to build a NLP-guided Robot possessing the abilities to understand natural language instructions.

Notifications You must be signed in to change notification settings

anirban-code-to-live/robot-nlp-spatial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robot-nlp-spatial

Our goal is to build a NLP-guided Robot possessing the abilities to understand natural language instructions.

Set up environment

  1. Create a virtual environment with python version 3.6.5 using the following command: virtualenv venv -p <python_path>

  2. Activate the environment: source venv/bin/activate

  3. Install the required packages: pip install -r requirements.txt

How to run Lang-UNet model

python train.py --batch_size <BATCH_SIZE> --epochs <NUM_EPOCHS> --lr <LEARNING_RATE

If you want to run on Blocks dataset, download the data from this link and put them in data/blocks directory.

Baselines: How to run

  1. Center : python center_baseline.py
  2. Random : python random_baseline.py

Pipelined baselines

  1. RNN-NoAttn-NoGround : python rnn_noattn.py
  2. LSTM-Attn-NoGround : python lstm_attn.py
  3. Lang-FCNet : python lang_fc.py

End-to-end baselines

Download the extracted features from this link and place them inside the data/synthetic directory.

  1. LSTM : python end_to_end.py --model lstm
  2. LSTM+CNN : python end_to_end.py --model cnn
  3. LSTM+CNN+SA : python end_to_end.py --model sa

About

Our goal is to build a NLP-guided Robot possessing the abilities to understand natural language instructions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages