feat: add xpatch_sparsechannel test script
This commit is contained in:
@ -0,0 +1,40 @@
|
||||
#!/bin/bash
|
||||
|
||||
model_name=xPatch_SparseChannel
|
||||
|
||||
# Traffic dataset testing
|
||||
for pred_len in 96 192 336 720
|
||||
do
|
||||
echo "Testing Traffic dataset with prediction length: $pred_len"
|
||||
python -u run.py \
|
||||
--task_name long_term_forecast \
|
||||
--is_training 0 \
|
||||
--root_path ./dataset/traffic/ \
|
||||
--data_path traffic.csv \
|
||||
--model_id traffic_$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 862 \
|
||||
--batch_size 256 \
|
||||
--c_out 862 \
|
||||
--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
|
||||
echo "Finished testing for prediction length: $pred_len"
|
||||
echo "================================"
|
||||
done
|
||||
|
||||
echo "All Traffic dataset testing completed!"
|
Reference in New Issue
Block a user