train_test.sh 244 B

123456789101112
  1. #!/bin/bash
  2. # Example: `setsid nohup ./train_test.sh BiRefNet 0,1,2,3,4,5,6,7 0 &>nohup.log &`
  3. method=${1:-"BSL"}
  4. devices=${2:-"0,1,2,3,4,5,6,7"}
  5. bash train.sh ${method} ${devices}
  6. devices_test=${3:-0}
  7. bash test.sh ${devices_test}
  8. hostname