-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_multi_metric_amazon_train_all.sh
More file actions
51 lines (51 loc) · 1.56 KB
/
Copy path_multi_metric_amazon_train_all.sh
File metadata and controls
51 lines (51 loc) · 1.56 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
42
43
44
45
46
47
48
49
50
51
date
#sleep 15000
#for dataset in cds electronic beauty
for dataset in cds electronic
#for dataset in alipay
do
{
for model in new_din new_gru4rec new_sasrec
do
{
# for type in multi_metric_base_30 multi_metric_meta_random_request multi_metric_meta_ood_baseline multi_metric_meta_30 multi_metric_meta_ood_uncertainty5
# for type in multi_metric_base_30 multi_metric_meta_30 multi_metric_meta_random_request multi_metric_meta_ood_baseline multi_metric_meta_ood_uncertainty5
for type in multi_metric_meta_random_request multi_metric_meta_ood_baseline
do
{
folder="${model}/${type}"
echo ${folder}
cd ${folder}
if [ ${type} = "multi_metric_meta_30" ];then
for file in amazon_${dataset}_train amazon_${dataset}_ood_train # 不要用ood2, ood2使用了target item
do
{
sh "${file}.sh"
}&
done
elif [ ${type} = "multi_metric_meta_random_request" ];then
sh amazon_${dataset}_train.sh
elif [ ${type} = "multi_metric_meta_ood_baseline" ];then
for file in amazon_${dataset}_ood_lof_train amazon_${dataset}_ood_ocsvm_train
do
{
sh "${file}.sh"
} &
done
else
sh amazon_${dataset}_ood_train.sh
# echo amazon_${dataset}_ood_train.sh
fi
cd ../../
} &
done
} &
done
wait
# sleep 960
# sleep 360
# sleep 4200
}
done
wait # 等待所有任务结束
date