mgunnin's picture
download
raw
684 Bytes
#!/bin/bash
# Modified from the original here: https://github.com/lupantech/ScienceQA/blob/main/tools/download.sh
cd images
if [ -d "train" ];
then
echo "Already downloaded train"
else
ls -alF
wget https://scienceqa.s3.us-west-1.amazonaws.com/images/train.zip
unzip -q train.zip
rm train.zip
fi
if [ -d "val" ];
then
echo "Already downloaded val"
else
ls -alF
wget https://scienceqa.s3.us-west-1.amazonaws.com/images/val.zip
unzip -q val.zip
rm val.zip
fi
if [ -d "test" ];
then
echo "Already downloaded test"
else
ls -alF
wget https://scienceqa.s3.us-west-1.amazonaws.com/images/test.zip
unzip -q test.zip
rm test.zip
fi
echo "Completed downloads!"

Xet Storage Details

Size:
684 Bytes
·
Xet hash:
fec86be8a57788e853392144e93ef783b667011a0ebafb62e3bbc318e97f807c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.