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
88a042d3
"docs/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "e288f6ca01a5009ab32f1db010b31f14756e0303"
Unverified
Commit
88a042d3
authored
Nov 09, 2020
by
Quan (Andy) Gan
Committed by
GitHub
Nov 09, 2020
Browse files
fix reddit self loop (#2330)
parent
4fb0241b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/graphsage/train_sampling_unsupervised.py
examples/pytorch/graphsage/train_sampling_unsupervised.py
+1
-1
No files found.
examples/pytorch/graphsage/train_sampling_unsupervised.py
View file @
88a042d3
...
...
@@ -288,7 +288,7 @@ def run(proc_id, n_gpus, args, devices, data):
def
main
(
args
,
devices
):
# load reddit data
data
=
RedditDataset
(
self_loop
=
Tru
e
)
data
=
RedditDataset
(
self_loop
=
Fals
e
)
n_classes
=
data
.
num_classes
g
=
data
[
0
]
features
=
g
.
ndata
[
'feat'
]
...
...
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