TrafficWheel/config/MegaCRN/PEMSD7.yaml

59 lines
862 B
YAML

basic:
dataset: "PEMSD7"
mode: "train"
device: "cuda:0"
model: "MegaCRN"
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
rnn_units: 64
num_layers: 1
cheb_k: 3
ycov_dim: 1
mem_num: 20
mem_dim: 64
cl_decay_steps: 2000
use_curriculum_learning: True
train:
loss_func: mae
seed: 10
batch_size: 64
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