Files
ith-project/run.sh
2026-05-21 13:45:42 +02:00

24 lines
529 B
Bash

#!/bin/bash
set -e
VENV_DIR=".venv"
# 1. Create venv if needed
if [[ ! -d "$VENV_DIR" ]]; then
echo "Creating virtual environment..."
python3 -m venv "$VENV_DIR"
fi
# 2. Activate venv
source "$VENV_DIR/bin/activate"
# 3. Install dependencies (lightweight, safe to re-run)
echo "Installing dependencies..."
pip install --upgrade pip
pip install pandas numpy matplotlib seaborn pillow scikit-learn tensorflow
pip install --upgrade kagglehub[pandas-datasets,hf-datasets]
python3 skin_cancer_classification.py
echo "Done."