Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DCRNN
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yan
DCRNN
Commits
9ad73556
Commit
9ad73556
authored
Jul 11, 2022
by
yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
parent
1e1e07da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
16 deletions
+10
-16
README.md
README.md
+0
-8
config.json
config.json
+10
-8
No files found.
README.md
View file @
9ad73556
# pytorch-DCRNN
The original tensorflow implementation:
[
liyaguang/DCRNN
](
https://github.com/liyaguang/DCRNN
)
,
This repo is still under development.
PyTorch implementation of Diffusion Convolutional Recurrent Neural Network in the following paper:
\
Yaguang Li, Rose Yu, Cyrus Shahabi, Yan Liu,
[
Diffusion Convolutional Recurrent Neural Network: Data-Driven Traffic Forecasting
](
https://arxiv.org/abs/1707.01926
)
, ICLR 2018.
## Requirements
...
...
config.json
View file @
9ad73556
{
"name"
:
"
METR-LA
_DCRNN"
,
"name"
:
"
BAY
_DCRNN"
,
"n_gpu"
:
1
,
"id"
:
5
,
"arch"
:
{
"type"
:
"DCRNNModel"
,
"args"
:
{
"batch_size"
:
64
,
"enc_input_dim"
:
2
,
"enc_input_dim"
:
1
,
"dec_input_dim"
:
1
,
"max_diffusion_step"
:
2
,
"num_nodes"
:
207
,
"num_nodes"
:
32
,
"num_rnn_layers"
:
2
,
"rnn_units"
:
64
,
"seq_len"
:
12
,
...
...
@@ -21,7 +23,7 @@
"type"
:
"Data"
,
"args"
:{
"train_batch_size"
:
64
,
"data_dir"
:
"data/
METR-LA
/"
,
"data_dir"
:
"data/
pems-bay-datasets-10
/"
,
"shuffle"
:
true
,
"validation_split"
:
0.1
,
"val_batch_size"
:
64
,
...
...
@@ -32,7 +34,7 @@
"optimizer"
:
{
"type"
:
"Adam"
,
"args"
:{
"lr"
:
0.0
1
,
"lr"
:
0.0
05
,
"weight_decay"
:
0
,
"eps"
:
1.0e-3
,
"amsgrad"
:
true
...
...
@@ -45,17 +47,17 @@
}
},
"metrics"
:
[
"masked_mae_np"
,
"masked_mape_np"
,
"masked_rmse_np"
"masked_mae_np"
,
"masked_mape_np"
,
"masked_rmse_np"
,
"masked_pcc"
],
"lr_scheduler"
:
{
"type"
:
"MultiStepLR"
,
"args"
:
{
"milestones"
:
[
20
,
30
,
40
,
50
],
"milestones"
:
[
15
,
25
,
35
],
"gamma"
:
0.1
}
},
"trainer"
:
{
"epochs"
:
1
,
"epochs"
:
50
,
"cl_decay_steps"
:
2000
,
"save_dir"
:
"saved/"
,
"save_period"
:
1
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment