-
Notifications
You must be signed in to change notification settings - Fork 3
/
run.sh
executable file
·54 lines (47 loc) · 1.06 KB
/
run.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
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
#!/bin/bash
export CUDA_VISIBLE_DEVICES=0
dataset=electricity
pred_len=96
wavelet=haar
data=custom
wavelet_j=3
node_dim=40
topk=6
n_gnn_layer=3
batch_size=32
dropout=0.30
learning_rate=0.001
seq_len=96
model=WaveForM
if [ $dataset = weather ]; then
n_point=21
elif [ $dataset = electricity ]; then
n_point=321
elif [ $dataset = traffic ]; then
n_point=862
elif [ $dataset = temperature ]; then
n_point=6
elif [ $dataset = solar ]; then
n_point=137
fi
exp_description=${dataset:0:3}_"$model"_"$seq_len"_"$pred_len"
nohup python -u run.py \
--model_id "$dataset"_"$exp_description" \
--model $model \
--data $data \
--root_path ./dataset/"$dataset"/ \
--data_path "$dataset".csv \
--checkpoints ./checkpoints/ \
--seq_len $seq_len \
--pred_len $pred_len \
--n_points $n_point \
--dropout $dropout \
--learning_rate $learning_rate \
--itr 1 \
--batch_size $batch_size \
--node_dim $node_dim \
--subgraph_size $topk \
--n_gnn_layer $n_gnn_layer \
--wavelet $wavelet \
--wavelet_j $wavelet_j \
--des exp > out_"$exp_description" &