refactor(graphmixer): enhance channel graph attention with ST-Gumbel
This commit is contained in:
@ -2,6 +2,71 @@
|
||||
|
||||
model_name=xPatch_SparseChannel
|
||||
|
||||
# Weather dataset
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 128 \
|
||||
--lradj 'sigmoid' \
|
||||
--train_epochs 20 \
|
||||
--d_ff 256 \
|
||||
--n_heads 16 \
|
||||
--patch_len 16 \
|
||||
--stride 8 \
|
||||
--k_graph 8 \
|
||||
--dropout 0.1 \
|
||||
--revin 1 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
||||
|
||||
# Exchange dataset
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/exchange_rate/ \
|
||||
--data_path exchange_rate.csv \
|
||||
--model_id Exchange_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 8 \
|
||||
--c_out 8 \
|
||||
--d_model 128 \
|
||||
--lradj 'sigmoid' \
|
||||
--d_ff 256 \
|
||||
--n_heads 16 \
|
||||
--patch_len 16 \
|
||||
--stride 8 \
|
||||
--k_graph 8 \
|
||||
--dropout 0.1 \
|
||||
--revin 1 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
||||
|
||||
# ETTm1 dataset
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
@ -22,11 +87,12 @@ python -u run.py \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--lradj 'sigmoid' \
|
||||
--d_ff 256 \
|
||||
--n_heads 16 \
|
||||
--patch_len 16 \
|
||||
--stride 8 \
|
||||
--k_graph 7 \
|
||||
--k_graph 5 \
|
||||
--dropout 0.1 \
|
||||
--revin 1 \
|
||||
--des 'Exp' \
|
||||
@ -53,6 +119,7 @@ python -u run.py \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--lradj 'sigmoid' \
|
||||
--d_ff 256 \
|
||||
--n_heads 16 \
|
||||
--patch_len 16 \
|
||||
@ -84,6 +151,7 @@ python -u run.py \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--lradj 'sigmoid' \
|
||||
--d_ff 256 \
|
||||
--n_heads 16 \
|
||||
--patch_len 16 \
|
||||
@ -115,6 +183,7 @@ python -u run.py \
|
||||
--enc_in 7 \
|
||||
--c_out 7 \
|
||||
--d_model 128 \
|
||||
--lradj 'sigmoid' \
|
||||
--d_ff 256 \
|
||||
--n_heads 16 \
|
||||
--patch_len 16 \
|
||||
@ -126,36 +195,6 @@ python -u run.py \
|
||||
--itr 1
|
||||
done
|
||||
|
||||
# Weather dataset
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/weather/ \
|
||||
--data_path weather.csv \
|
||||
--model_id weather_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 21 \
|
||||
--c_out 21 \
|
||||
--d_model 128 \
|
||||
--d_ff 256 \
|
||||
--n_heads 16 \
|
||||
--patch_len 16 \
|
||||
--stride 8 \
|
||||
--k_graph 8 \
|
||||
--dropout 0.1 \
|
||||
--revin 1 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
||||
|
||||
# ECL dataset
|
||||
for pred_len in 96 192 336 720
|
||||
@ -219,33 +258,3 @@ python -u run.py \
|
||||
--itr 1
|
||||
done
|
||||
|
||||
# Exchange dataset
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 1 \
|
||||
--root_path ./dataset/exchange_rate/ \
|
||||
--data_path exchange_rate.csv \
|
||||
--model_id Exchange_$pred_len'_'$pred_len \
|
||||
--model $model_name \
|
||||
--data custom \
|
||||
--features M \
|
||||
--seq_len 96 \
|
||||
--label_len 48 \
|
||||
--pred_len $pred_len \
|
||||
--e_layers 2 \
|
||||
--d_layers 1 \
|
||||
--enc_in 8 \
|
||||
--c_out 8 \
|
||||
--d_model 128 \
|
||||
--d_ff 256 \
|
||||
--n_heads 16 \
|
||||
--patch_len 16 \
|
||||
--stride 8 \
|
||||
--k_graph 8 \
|
||||
--dropout 0.1 \
|
||||
--revin 1 \
|
||||
--des 'Exp' \
|
||||
--itr 1
|
||||
done
|
Reference in New Issue
Block a user