-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_arr_exec.sh
More file actions
42 lines (36 loc) · 1.04 KB
/
bash_arr_exec.sh
File metadata and controls
42 lines (36 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash -l
#$ -j y
#$ -l h_rt=24:00:00
#$ -pe omp 4
#$ -l gpus=1
#$ -l gpu_c=7.0
#$ -l gpu_memory=48G
##$ -l gpu_type=A6000
##$ -l buyin
# job a name
#$ -N exP_D
# output file name
##$ -o scc_outputs/exe.qlog
# Submit an array job with 10 tasks
#$ -t 1-10
module purge
module load miniconda
conda activate ~/myResearch/miniconda3/envs/det2
# python --version
# env|grep -i cuda
# Keep track of information related to the current job
echo "=========================================================="
echo "Start date : $(date)"
echo "Job name : $JOB_NAME"
echo "Job ID : $JOB_ID $SGE_TASK_ID"
echo "=========================================================="
#export PYTHONPATH=$PWD
#echo $PYTHONPATH
exe_id=$((SGE_TASK_ID-1))
echo "exercise_class: ${exe_id}"
python trainMulti_perExe.py \
--config config/execheck_Multi_perExe_decouple1.yaml \
-exercise_class ${exe_id} \
-model_saved_name "./checkpoints_perExe_D/execheck_stgat/exe${exe_id}" \
# -last_model "./checkpoints_perExe/execheck_stgat/exe${exe_id}_r.pth" \
# -val_first True