-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from liyaguang/v2
Upgrading to DCRNN v2.
- Loading branch information
Showing
40 changed files
with
1,066 additions
and
1,400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
data/model/dcrnn_DR_2_h_12_64-64_lr_0.01_bs_64_d_0.00_sl_12_MAE_0606021843/config_75.yaml
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-4.27 MB
...2_64-64_lr_0.01_bs_64_d_0.00_sl_12_MAE_0606021843/models-2.8476-26676.data-00000-of-00001
Binary file not shown.
Binary file removed
BIN
-2.5 KB
...dcrnn_DR_2_h_12_64-64_lr_0.01_bs_64_d_0.00_sl_12_MAE_0606021843/models-2.8476-26676.index
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,38 @@ | ||
--- | ||
base_dir: data/model | ||
batch_size: 64 | ||
cl_decay_steps: 2000 | ||
data_type: ALL | ||
dropout: 0 | ||
epoch: 0 | ||
epochs: 100 | ||
filter_type: dual_random_walk | ||
global_step: 0 | ||
graph_pkl_filename: data/sensor_graph/adj_mx.pkl | ||
horizon: 12 | ||
l1_decay: 0 | ||
learning_rate: 0.01 | ||
loss_func: MAE | ||
lr_decay: 0.1 | ||
lr_decay_epoch: 20 | ||
lr_decay_interval: 10 | ||
max_diffusion_step: 2 | ||
max_grad_norm: 5 | ||
min_learning_rate: 2.0e-06 | ||
null_val: 0 | ||
num_rnn_layers: 2 | ||
output_dim: 1 | ||
patience: 50 | ||
rnn_units: 64 | ||
seq_len: 12 | ||
test_every_n_epochs: 10 | ||
test_ratio: 0.2 | ||
use_cpu_only: false | ||
use_curriculum_learning: true | ||
validation_ratio: 0.1 | ||
verbose: 0 | ||
write_db: false | ||
data: | ||
batch_size: 64 | ||
dataset_dir: data/METR-LA | ||
test_batch_size: 64 | ||
val_batch_size: 64 | ||
graph_pkl_filename: data/sensor_graph/adj_mx.pkl | ||
|
||
model: | ||
cl_decay_steps: 2000 | ||
filter_type: dual_random_walk | ||
horizon: 12 | ||
input_dim: 2 | ||
l1_decay: 0 | ||
max_diffusion_step: 2 | ||
num_nodes: 207 | ||
num_rnn_layers: 2 | ||
output_dim: 1 | ||
rnn_units: 64 | ||
seq_len: 12 | ||
use_curriculum_learning: true | ||
|
||
train: | ||
base_lr: 0.01 | ||
dropout: 0 | ||
epoch: 0 | ||
epochs: 100 | ||
epsilon: 1.0e-3 | ||
global_step: 0 | ||
lr_decay_ratio: 0.1 | ||
max_grad_norm: 5 | ||
max_to_keep: 100 | ||
min_learning_rate: 2.0e-06 | ||
optimizer: adam | ||
patience: 50 | ||
steps: [20, 30, 40, 50] | ||
test_every_n_epochs: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
base_dir: data/model | ||
data: | ||
batch_size: 64 | ||
dataset_dir: data/METR-LA | ||
test_batch_size: 64 | ||
val_batch_size: 64 | ||
graph_pkl_filename: data/sensor_graph/adj_mx.pkl | ||
|
||
model: | ||
cl_decay_steps: 2000 | ||
filter_type: laplacian | ||
horizon: 12 | ||
input_dim: 2 | ||
l1_decay: 0 | ||
max_diffusion_step: 2 | ||
max_grad_norm: 5 | ||
num_nodes: 207 | ||
num_rnn_layers: 2 | ||
output_dim: 1 | ||
rnn_units: 16 | ||
seq_len: 12 | ||
use_curriculum_learning: true | ||
|
||
train: | ||
base_lr: 0.01 | ||
dropout: 0 | ||
epoch: 0 | ||
epochs: 100 | ||
global_step: 0 | ||
lr_decay_ratio: 0.1 | ||
steps: [20, 30, 40, 50] | ||
max_to_keep: 100 | ||
min_learning_rate: 2.0e-06 | ||
patience: 50 | ||
test_every_n_epochs: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,36 @@ | ||
--- | ||
base_dir: data/model | ||
batch_size: 64 | ||
cl_decay_steps: 2000 | ||
data_type: ALL | ||
dropout: 0 | ||
epoch: 0 | ||
epochs: 100 | ||
filter_type: random_walk | ||
global_step: 0 | ||
graph_pkl_filename: data/sensor_graph/adj_mx.pkl | ||
horizon: 3 | ||
l1_decay: 0 | ||
learning_rate: 0.01 | ||
loss_func: MAE | ||
lr_decay: 0.1 | ||
lr_decay_epoch: 20 | ||
lr_decay_interval: 10 | ||
max_diffusion_step: 2 | ||
max_grad_norm: 5 | ||
method_type: GCRNN | ||
min_learning_rate: 2.0e-06 | ||
null_val: 0 | ||
num_rnn_layers: 2 | ||
output_dim: 1 | ||
patience: 50 | ||
rnn_units: 16 | ||
seq_len: 3 | ||
test_every_n_epochs: 10 | ||
test_ratio: 0.2 | ||
use_cpu_only: false | ||
use_curriculum_learning: true | ||
validation_ratio: 0.1 | ||
verbose: 0 | ||
write_db: false | ||
data: | ||
batch_size: 64 | ||
dataset_dir: data/METR-LA | ||
test_batch_size: 64 | ||
val_batch_size: 64 | ||
graph_pkl_filename: data/sensor_graph/adj_mx.pkl | ||
|
||
model: | ||
cl_decay_steps: 2000 | ||
filter_type: dual_random_walk | ||
horizon: 12 | ||
input_dim: 2 | ||
l1_decay: 0 | ||
max_diffusion_step: 2 | ||
max_grad_norm: 5 | ||
num_nodes: 207 | ||
num_rnn_layers: 2 | ||
output_dim: 1 | ||
rnn_units: 64 | ||
seq_len: 12 | ||
use_curriculum_learning: true | ||
|
||
train: | ||
base_lr: 0.01 | ||
dropout: 0 | ||
epoch: 0 | ||
epochs: 100 | ||
global_step: 0 | ||
lr_decay_ratio: 0.1 | ||
steps: [20, 30, 40, 50] | ||
max_to_keep: 100 | ||
min_learning_rate: 2.0e-06 | ||
patience: 50 | ||
test_every_n_epochs: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
base_dir: data/model | ||
data: | ||
batch_size: 64 | ||
dataset_dir: data/METR-LA | ||
graph_pkl_filename: data/sensor_graph/adj_mx.pkl | ||
test_batch_size: 64 | ||
model: | ||
cl_decay_steps: 2000 | ||
filter_type: dual_random_walk | ||
horizon: 12 | ||
input_dim: 2 | ||
l1_decay: 0 | ||
max_diffusion_step: 2 | ||
num_nodes: 207 | ||
num_rnn_layers: 2 | ||
output_dim: 1 | ||
rnn_units: 64 | ||
seq_len: 12 | ||
use_curriculum_learning: true | ||
train: | ||
base_lr: 0.01 | ||
dropout: 0 | ||
epoch: 64 | ||
epochs: 100 | ||
epsilon: 0.001 | ||
global_step: 24375 | ||
log_dir: data/model/pretrained/ | ||
lr_decay_ratio: 0.1 | ||
max_grad_norm: 5 | ||
max_to_keep: 100 | ||
min_learning_rate: 2.0e-06 | ||
model_filename: data/model/pretrained/models-2.7422-24375 | ||
optimizer: adam | ||
patience: 50 | ||
steps: | ||
- 20 | ||
- 30 | ||
- 40 | ||
- 50 | ||
test_every_n_epochs: 10 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.