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
e46983f6
Unverified
Commit
e46983f6
authored
Feb 10, 2021
by
Tianqi Zhang (张天启)
Committed by
GitHub
Feb 10, 2021
Browse files
[Bug Fix][Example] fix dataloader bug in gxn (#2631)
Co-authored-by:
Minjie Wang
<
wmjlyjemaine@gmail.com
>
parent
22ccf436
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/gxn/main_early_stop.py
examples/pytorch/gxn/main_early_stop.py
+1
-1
No files found.
examples/pytorch/gxn/main_early_stop.py
View file @
e46983f6
...
...
@@ -5,12 +5,12 @@ from datetime import datetime
import
dgl
from
dgl.data
import
LegacyTUDataset
from
dgl.dataloading
import
GraphDataLoader
from
torch.utils.data
import
random_split
import
torch
from
torch
import
Tensor
import
torch.nn.functional
as
F
from
dataloader
import
GraphDataLoader
from
networks
import
GraphClassifier
from
utils
import
get_stats
,
parse_args
from
data_preprocess
import
degree_as_feature
,
node_label_as_feature
...
...
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