Always start tensorboard in `start.sh`

This commit is contained in:
Augusto de la Torre 2023-04-13 10:19:54 +02:00
parent 338a368b5d
commit b7786fde2d
1 changed files with 2 additions and 1 deletions

View File

@ -13,10 +13,11 @@ then
service ssh start
fi
tensorboard --logdir /workspace/EveryDream2trainer/logs --host 0.0.0.0 &
# RunPod JupyterLab
if [[ $JUPYTER_PASSWORD ]]
then
tensorboard --logdir /workspace/EveryDream2trainer/logs --host 0.0.0.0 &
jupyter nbextension enable --py widgetsnbextension
jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
jupyter lab --allow-root --no-browser --port=8888 --ip=* --ServerApp.terminado_settings='{"shell_command":["/bin/bash"]}' --ServerApp.token=$JUPYTER_PASSWORD --ServerApp.allow_origin=* --ServerApp.preferred_dir=/workspace/EveryDream2trainer