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
torch-cluster
Commits
f445726c
"examples/git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "0ead9141543fea77f98f3aaee31bb1e309b53219"
Commit
f445726c
authored
Jul 16, 2020
by
rusty1s
Browse files
increase neighbors
parent
314d1637
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/test_radius.py
test/test_radius.py
+1
-1
No files found.
test/test_radius.py
View file @
f445726c
...
@@ -64,7 +64,7 @@ def test_radius_graph_large(dtype, device):
...
@@ -64,7 +64,7 @@ def test_radius_graph_large(dtype, device):
x
=
torch
.
randn
(
1000
,
3
)
x
=
torch
.
randn
(
1000
,
3
)
edge_index
=
radius_graph
(
x
,
r
=
0.5
,
flow
=
'target_to_source'
,
loop
=
True
,
edge_index
=
radius_graph
(
x
,
r
=
0.5
,
flow
=
'target_to_source'
,
loop
=
True
,
max_num_neighbors
=
1
000
,
num_workers
=
6
)
max_num_neighbors
=
2
000
,
num_workers
=
6
)
tree
=
scipy
.
spatial
.
cKDTree
(
x
.
numpy
())
tree
=
scipy
.
spatial
.
cKDTree
(
x
.
numpy
())
col
=
tree
.
query_ball_point
(
x
.
cpu
(),
r
=
0.5
)
col
=
tree
.
query_ball_point
(
x
.
cpu
(),
r
=
0.5
)
...
...
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