version: sunnypilot v2025.003.000 (dev) date: 2026-02-09T02:04:38 master commit: 254f55ac15a40343d7255f2f098de3442e0c4a6f
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
|