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
pyg_autoscale
Commits
01a3e346
Commit
01a3e346
authored
Apr 11, 2021
by
rusty1s
Browse files
Merge branch 'master' of github.com:rusty1s/pyg_autoscale
parents
90b79a0c
ccecbf2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/train_gcn.py
examples/train_gcn.py
+1
-1
No files found.
examples/train_gcn.py
View file @
01a3e346
...
@@ -74,7 +74,7 @@ def test(model, data):
...
@@ -74,7 +74,7 @@ def test(model, data):
return
train_acc
,
val_acc
,
test_acc
return
train_acc
,
val_acc
,
test_acc
test
(
data
,
model
)
# Fill history.
test
(
model
,
data
)
# Fill history.
best_val_acc
=
test_acc
=
0
best_val_acc
=
test_acc
=
0
for
epoch
in
range
(
1
,
201
):
for
epoch
in
range
(
1
,
201
):
train
(
model
,
loader
,
optimizer
)
train
(
model
,
loader
,
optimizer
)
...
...
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