Our goal is to build a NLP-guided Robot possessing the abilities to understand natural language instructions.
-
Create a virtual environment with python version 3.6.5 using the following command:
virtualenv venv -p <python_path>
-
Activate the environment:
source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
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.
- Center :
python center_baseline.py
- Random :
python random_baseline.py
- RNN-NoAttn-NoGround :
python rnn_noattn.py
- LSTM-Attn-NoGround :
python lstm_attn.py
- Lang-FCNet :
python lang_fc.py
Download the extracted features from this link and place them inside the data/synthetic directory.
- LSTM :
python end_to_end.py --model lstm
- LSTM+CNN :
python end_to_end.py --model cnn
- LSTM+CNN+SA :
python end_to_end.py --model sa