First test
This commit is contained in:
24
run.sh
24
run.sh
@@ -1,5 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Hello!"
|
||||
sleep 15
|
||||
echo "Goodbye!"
|
||||
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."
|
||||
|
||||
Reference in New Issue
Block a user