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
d34cbf31
Unverified
Commit
d34cbf31
authored
Aug 08, 2020
by
Mufei Li
Committed by
GitHub
Aug 08, 2020
Browse files
Update train_sampling_unsupervised.py (#1973)
parent
5454471f
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 @
d34cbf31
...
...
@@ -350,7 +350,7 @@ def main(args, devices):
n_gpus
=
len
(
devices
)
if
devices
[
0
]
==
-
1
:
run
(
0
,
0
,
args
,
[
'cpu'
],
data
)
if
n_gpus
==
1
:
el
if
n_gpus
==
1
:
run
(
0
,
n_gpus
,
args
,
devices
,
data
)
else
:
procs
=
[]
...
...
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