Unverified Commit 0576a33b authored by Jinjing Zhou's avatar Jinjing Zhou Committed by GitHub
Browse files

Update convert.py (#2789)


Co-authored-by: default avatarZihao Ye <expye@outlook.com>
parent a1b5b42a
...@@ -158,7 +158,7 @@ def graph(data, ...@@ -158,7 +158,7 @@ def graph(data,
' but got {} and {}.'.format(num_nodes, max(urange, vrange) - 1)) ' but got {} and {}.'.format(num_nodes, max(urange, vrange) - 1))
urange, vrange = num_nodes, num_nodes urange, vrange = num_nodes, num_nodes
g = create_from_edges(u, v, '_N', '_E', '_N', urange, vrange) g = create_from_edges(u, v, '_N', '_E', '_N', urange, vrange, validate=False)
return g.to(device) return g.to(device)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment