You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
379 B
19 lines
379 B
#!/bin/bash
|
|
|
|
if [ -z $BASEDIR ]; then
|
|
export BASEDIR="./extra/datasets/"
|
|
fi
|
|
|
|
cd $BASEDIR
|
|
if [ -d "kits19" ]; then
|
|
echo "kits19 dataset is already available"
|
|
else
|
|
echo "Downloading and preparing kits19 dataset at $BASEDIR"
|
|
|
|
git clone https://github.com/neheller/kits19
|
|
cd kits19
|
|
pip3 install -r requirements.txt
|
|
python3 -m starter_code.get_imaging
|
|
|
|
echo "Done"
|
|
fi
|
|
|