mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-21 08:03:42 +08:00
dd778596b7
date: 2025-03-15T21:10:51 master commit: fb7b9c0f9420d228f03362970ebcfb7237095cf3
20 lines
379 B
Bash
Executable File
20 lines
379 B
Bash
Executable File
#!/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
|