#!/bin/bash set -e GPU="${GPU:-0}" SEED="${SEED:-0}" LOGDIR="output/logs/long_24h" mkdir -p "${LOGDIR}" LOGFILE="${LOGDIR}/24h_gpu${GPU}_seed${SEED}.log" OUT="output/long_24h/seed${SEED}" echo "[$(date)] 24h streaming inference: gpu=${GPU} seed=${SEED} -> ${OUT}, log ${LOGFILE}" CUDA_VISIBLE_DEVICES=${GPU} python inference/stream_long/inference_long_stream.py \ --config_path inference/stream_long/configs/cfg_24h.yaml \ --output_folder "${OUT}" \ --seed ${SEED} 2>&1 | tee "${LOGFILE}" echo "[$(date)] 24h streaming inference complete"