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
861666fa
Unverified
Commit
861666fa
authored
Feb 28, 2022
by
Xin Yao
Committed by
GitHub
Feb 28, 2022
Browse files
[Bugfix] Fix RGCN Example (#3785)
parent
ec64581c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
examples/pytorch/rgcn/entity_sample_multi_gpu.py
examples/pytorch/rgcn/entity_sample_multi_gpu.py
+1
-0
No files found.
examples/pytorch/rgcn/entity_sample_multi_gpu.py
View file @
861666fa
...
...
@@ -97,6 +97,7 @@ def main(args, devices):
# Create csr/coo/csc formats before launching training processes.
# This avoids creating certain formats in each sub-process, which saves momory and CPU.
g
=
data
[
0
]
g
.
create_formats_
()
n_gpus
=
len
(
devices
)
...
...
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