-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun_srafgen.sh
More file actions
32 lines (21 loc) · 1.22 KB
/
run_srafgen.sh
File metadata and controls
32 lines (21 loc) · 1.22 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
#!/usr/bin/bash
python=/home/local/eda13/gc29434/miniconda3/envs/dopc/bin/python
data_idxs=(1 2 3 4 5 6 7 8 9 10)
# res=high
# for data_idx in "${data_idxs[@]}"; do
# $python src/srafgen.py opc.common.resolution=$res data=sraf_single data.data_idx=$data_idx extras.print_config=false logger.aim.experiment=srafgen
# mv tmp/grad_2048x2048 tmp/grad_2048x2048_srafgen$data_idx
# done
# # $python src/srafgen.py opc.common.resolution=$res data=sraf_single data.data_idx=$data_idx extras.print_config=true logger.aim.experiment=srafgen
# res=mid
# for data_idx in "${data_idxs[@]}"; do
# $python src/srafgen.py opc.common.resolution=$res data=sraf_single data.data_idx=$data_idx extras.print_config=false logger.aim.experiment=srafgen
# mv tmp/grad_1024x1024 tmp/grad_1024x1024_srafgen$data_idx
# done
# $python src/srafgen.py opc.common.resolution=$res data=sraf_single data.data_idx=$data_idx extras.print_config=true logger.aim.experiment=srafgen
# data_idxs=(1)
res=mini
for data_idx in "${data_idxs[@]}"; do
$python src/srafgen.py opc.common.resolution=$res data=sraf_single data.data_idx=$data_idx extras.print_config=true logger.aim.experiment=srafgen
# mv tmp/grad_1024x1024 tmp/grad_1024x1024_srafgen$data_idx
done