Simplified bootstrap even more
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
#SIA_INSTALL_NO_TRAIN=1
|
||||
#SIA_INSTALL_NO_NOTEBOOK=1
|
||||
#SIA_INSTALL_NO_CORE=1
|
||||
#SIA_BOOTSTRAP_NO_TRAIN=1
|
||||
#SIA_BOOTSTRAP_NO_START=1
|
||||
|
||||
trap 'return 1' ERR
|
||||
|
||||
@@ -106,14 +104,14 @@ fi
|
||||
source /root/sia/scripts/add_venvs_to_path.sh
|
||||
|
||||
# Finetune model
|
||||
if [ -z "${SIA_BOOTSTRAP_NO_TRAIN}" ]; then
|
||||
if [ -z "${SIA_INSTALL_NO_TRAIN}" ]; then
|
||||
echo "Finetuning model..."
|
||||
train /root/models/bootstrap
|
||||
ln -s /root/models/bootstrap /root/models/current
|
||||
fi
|
||||
|
||||
# Start SIA using restart script
|
||||
if [ -z "${SIA_BOOTSTRAP_NO_START}" ]; then
|
||||
if [ -z "${SIA_INSTALL_NO_CORE}" ]; then
|
||||
echo "Run restart script..."
|
||||
"/root/sia/scripts/restart.sh"
|
||||
fi
|
||||
Reference in New Issue
Block a user