Add support for jupyter notebooks for training
This commit is contained in:
@@ -18,6 +18,11 @@ if [ -z "$SIA_REPO_PAT" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install required packages
|
||||
apt-get update
|
||||
apt-get install -y \
|
||||
vim
|
||||
|
||||
# Create directory structure
|
||||
echo "Creating directory structure..."
|
||||
mkdir -p "/root/data/iterations"
|
||||
@@ -33,6 +38,7 @@ if [ ! -d "/root/sia" ]; then
|
||||
cd "/root/sia"
|
||||
git config --global user.name "Niels Geens"
|
||||
git config --global user.email "niels.geens@gmail.com"
|
||||
git config --global core.editor vim
|
||||
fi
|
||||
|
||||
# Fixing permissions
|
||||
@@ -58,10 +64,10 @@ ln -s "/root/sia/web/dist" "/root/static"
|
||||
# Install SIA dependencies
|
||||
source "/root/sia/scripts/install.sh"
|
||||
|
||||
# Finetune model
|
||||
echo "Finetuning model..."
|
||||
train
|
||||
|
||||
# Start SIA using restart script
|
||||
echo "Run restart script..."
|
||||
"/root/sia/scripts/restart.sh"
|
||||
## Finetune model
|
||||
#echo "Finetuning model..."
|
||||
#train
|
||||
#
|
||||
## Start SIA using restart script
|
||||
#echo "Run restart script..."
|
||||
#"/root/sia/scripts/restart.sh"
|
||||
Reference in New Issue
Block a user