-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsh_final.sh
24 lines (21 loc) · 831 Bytes
/
sh_final.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
#SBATCH --job-name=ser
#SBATCH --output=./logs_final/%A.out
#SBATCH --error=./logs_final/%A.err
#SBATCH -t 8:00:00 # walltime = 1 hours and 30 minutes
#SBATCH --mail-type=ALL
#SBATCH [email protected]
# Set the array variable based on the calculated array size
#SBATCH -N 1
#SBATCH -n 8 # 1 CPU core
#SBATCH --mem=40GB
#SBATCH --gres=gpu:a100:1
#SBATCH -x node[100-106,110]
# Execute commands to run your program here. Here is an example of python.
eval "$(conda shell.bash hook)"
conda activate ser
let "min_seed = 14"
let "max_seed = 15"
# Print the current task information
echo "Running train.py with min_seed = $min_seed and max_seed = $max_seed"
python train.py --experiment_file experiments/run.json --low_seed "$min_seed" --high_seed "$max_seed"