#!/bin/bash
cd /root/siton-data-2849d4ce327c4ccfb233ce33868fe7fe/zsy/CompanionGuard-RL
ACCEL=/root/siton-data-2849d4ce327c4ccfb233ce33868fe7fe/zsy/old-road-code/envs/multimodal_affect/bin/accelerate
LOG=experiments/train_v3_$(date +%Y%m%d_%H%M%S).log
nohup $ACCEL launch --num_processes=4 --mixed_precision=bf16 \
    scripts/train_detector.py \
    --config configs/detector_config_server.yaml \
    > $LOG 2>&1 &
echo "PID: $! LOG: $LOG"
