Code release

This commit is contained in:
Adnen Abdessaied 2023-10-25 15:38:09 +02:00
commit 09fb25e339
29 changed files with 7162 additions and 0 deletions

18
setup_data.sh Normal file
View file

@ -0,0 +1,18 @@
cd data
# Exract the graphs
tar xvfz history_adj_matrices.tar.gz
tar xvfz question_adj_matrices.tar.gz
tar xvfz img_adj_matrices.tar.gz
# Remove the .tar files
rm *.tar.gz
# Download the preprocessed image features
mkdir visdial_img_feat.lmdb
wget https://s3.amazonaws.com/visdial-bert/data/visdial_image_feats.lmdb/data.mdb -O visdial_img_feat.lmdb/data.mdb
wget https://s3.amazonaws.com/visdial-bert/data/visdial_image_feats.lmdb/lock.mdb -O visdial_img_feat.lmdb/lock.mdb
echo Data setup successfully...
cd ..