TrafficWheel/config/STSGCN/PEMSD7.yaml

60 lines
992 B
YAML
Executable File

basic:
dataset: "PEMSD7"
mode: "train"
device: "cuda:0"
model: "STSGCN"
data:
num_nodes: 883
lag: 12
horizon: 12
val_ratio: 0.2
test_ratio: 0.2
tod: False
normalizer: std
column_wise: False
default_graph: True
add_time_in_day: True
add_day_in_week: True
steps_per_day: 288
days_per_week: 7
model:
input_dim: 1
output_dim: 1
construct_type: connectivity
history: 12
horizon: 12
strides: 3
hidden_dims: [[64, 64, 64], [64, 64, 64], [64, 64, 64], [64, 64, 64]]
first_layer_embedding_size: 64
out_layer_dim: 128
activation: GLU
use_mask: True
temporal_emb: True
spatial_emb: True
train:
loss_func: mae
seed: 10
batch_size: 32
epochs: 300
lr_init: 0.003
weight_decay: 0
lr_decay: False
lr_decay_rate: 0.3
lr_decay_step: "5,20,40,70"
early_stop: True
early_stop_patience: 15
grad_norm: False
max_grad_norm: 5
real_value: True
test:
mae_thresh: null
mape_thresh: 0.0
log:
log_step: 200
plot: False