-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrun_all_bvqa_regression.sh
More file actions
56 lines (48 loc) · 1020 Bytes
/
run_all_bvqa_regression.sh
File metadata and controls
56 lines (48 loc) · 1020 Bytes
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/bash
MODELS=(
#'BRISQUE'
#'vgg19'
#'resnet50'
#'TLVQM'
#'RAPIQUE'
'GAME'
#'NDNet'
)
DATASETS=(
#'YT-UGC-Gaming'
#'LIVE-YT-Gaming'
#'GamingVideoSET'
#'KUGVD'
#'CGVDS'
'LIVE-Meta-Gaming'
)
for m in "${MODELS[@]}"
do
for DS in "${DATASETS[@]}"
do
for FOLDER in "${FOLDERS[@]}"
do
feature_file=feat_files/${DS}_${m}_feats.mat
out_file=result/${DS}_${m}
predicted_score=pre_score/${DS}_${m}_predicted_score.mat
best_pamtr=best_pamtr/${DS}_${m}_pamtr.mat
log_file=logs/${DS}_regression.log
# echo "$m"
# echo "${feature_file}"
# echo "${out_file}"
# echo "${log_file}"
cmd="python evaluate_bvqa_features_regression.py"
cmd+=" --model_name $m"
cmd+=" --dataset_name ${DS}"
cmd+=" --feature_file ${feature_file}"
cmd+=" --predicted_score ${predicted_score}"
cmd+=" --best_parameter ${best_pamtr}"
cmd+=" --out_file ${out_file}"
cmd+=" --log_file ${log_file}"
# cmd+=" --use_parallel"
cmd+=" --log_short"
echo "${cmd}"
eval ${cmd}
done
done
done