lnp_ml/scripts_run/launch_final_cv.sh

12 lines
403 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
set -uo pipefail
SEED=${SEED:-42}
GPU=0 FOLDS=0,1,2 SEED=${SEED} BATCH=8 \
setsid nohup bash scripts_run/run_final_cv.sh >/dev/null 2>&1 &
GPU=1 FOLDS=3,4 SEED=${SEED} BATCH=4 \
setsid nohup bash scripts_run/run_final_cv.sh >/dev/null 2>&1 &
sleep 2
echo "已拉起 MODE=shard SEED=${SEED} PRETRAIN=${PRETRAIN:-<未设置>}"
echo "日志:models/final_cv/*/gpu*.log"