Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
cbe4c28f
Unverified
Commit
cbe4c28f
authored
Jun 07, 2020
by
Mufei Li
Committed by
GitHub
Jun 07, 2020
Browse files
Fix (#1596)
parent
36c7b771
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/stgcn_wave/main.py
examples/pytorch/stgcn_wave/main.py
+1
-1
No files found.
examples/pytorch/stgcn_wave/main.py
View file @
cbe4c28f
...
@@ -116,7 +116,7 @@ for epoch in range(1, epochs + 1):
...
@@ -116,7 +116,7 @@ for epoch in range(1, epochs + 1):
print
(
"epoch"
,
epoch
,
", train loss:"
,
l_sum
/
n
,
", validation loss:"
,
val_loss
)
print
(
"epoch"
,
epoch
,
", train loss:"
,
l_sum
/
n
,
", validation loss:"
,
val_loss
)
best_model
=
STGCN_WAVE
(
blocks
,
n_his
,
n_route
,
G
,
drop_prob
).
to
(
device
)
best_model
=
STGCN_WAVE
(
blocks
,
n_his
,
n_route
,
G
,
drop_prob
,
num_layers
).
to
(
device
)
best_model
.
load_state_dict
(
torch
.
load
(
save_path
))
best_model
.
load_state_dict
(
torch
.
load
(
save_path
))
...
...
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