Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some errors about knn_graph #51

Closed
lookthatdog opened this issue Feb 18, 2020 · 1 comment
Closed

some errors about knn_graph #51

lookthatdog opened this issue Feb 18, 2020 · 1 comment
Labels

Comments

@lookthatdog
Copy link

File "/opt/data/private/code/EDSR-PyTorch-master/src/model/net.py", line 107, in forward
edge_index = knn_graph(node, k)
File "/usr/local/anaconda3/envs/py36/lib/python3.6/site-packages/torch_cluster/knn.py", line 123, in knn_graph
row, col = knn(x, x, k if loop else k + 1, batch, batch, cosine=cosine)
File "/usr/local/anaconda3/envs/py36/lib/python3.6/site-packages/torch_cluster/knn.py", line 66, in knn
min_xy = min(x.min().item(), y.min().item())
RuntimeError: invalid argument 1: cannot perform reduction function min on tensor with no elements because the operation does not have an identity at /opt/conda/conda-bld/pytorch_1579027003190/work/aten/src/TH/generic/THTensorEvenMoreMath.cpp:345

@github-actions
Copy link

This issue had no activity for 6 months. It will be closed in 2 weeks unless there is some new activity. Is this issue already resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant