Download scale/script/start_preview_watcher.sh from Tinghong-Ye22/code-Movens-Zero_train: direct link, hf CLI and curl.
- Browser
- Download file 733 Bytes
-
https://huggingface.co/Tinghong-Ye22/code-Movens-Zero_train/resolve/main/scale/script/start_preview_watcher.sh
- Command line
-
hf download hf://Tinghong-Ye22/code-Movens-Zero_train/scale/script/start_preview_watcher.sh
-
curl -L -o start_preview_watcher.sh https://huggingface.co/Tinghong-Ye22/code-Movens-Zero_train/resolve/main/scale/script/start_preview_watcher.sh
733 Bytes
| set -euo pipefail | |
| preview_watch_root="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)" | |
| preview_watch_session=movens-scale-auto-preview | |
| mkdir -p "$preview_watch_root/scale/groups/sml_1m_224_a1e-4_o1e-5_nojerk/previews/auto" | |
| if tmux has-session -t "$preview_watch_session" 2>/dev/null; then | |
| echo "Automatic preview watcher already running: $preview_watch_session" | |
| exit 0 | |
| fi | |
| tmux new-session -d -s "$preview_watch_session" -c "$preview_watch_root" \ | |
| 'python3 -B -u scale/script/watch_scale_previews.py --include-simple-text >> scale/groups/sml_1m_224_a1e-4_o1e-5_nojerk/previews/auto/watcher.log 2>&1' | |
| echo "Automatic preview watcher started: $preview_watch_session (DSW GPU 2; DLC untouched)" | |