Skip to content

Commit

Permalink
datasets/populate: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
tharvik committed May 13, 2024
1 parent e011e8d commit 0b139bb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions datasets/populate
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ curl 'http://deai-313515.appspot.com.storage.googleapis.com/example_training_dat
tar --extract --strip-components=1

# lungs ultrasound
mkdir -p lus_covid
curl 'https://drive.switch.ch/index.php/s/zM5ZrUWK3taaIly/download' > archive.zip
ln -fs lus_covid DeAI-testimages # redirect top level dir
unzip -u archive.zip
rm -rf 'lungs ultrasound'
mv DeAI-testimages 'lus_covid'
rm archive.zip
rm archive.zip DeAI-testimages

# wikitext
mkdir -p wikitext
cd wikitext
curl 'https://dax-cdn.cdn.appdomain.cloud/dax-wikitext-103/1.0.1/wikitext-103.tar.gz' |
tar --extract --gzip --strip-components=1
cd ..
tar --extract --gzip --strip-components=1 -C wikitext

0 comments on commit 0b139bb

Please sign in to comment.