We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
graph_transformer.py
Hi, I found one of the SparseAPI -related example crashed due to this function:
dgl/python/dgl/transforms/functional.py
Line 3614 in 617979d
Details attached below...
Steps to reproduce the behavior:
python examples/sparse/graph_transformer.py
Output error:
Traceback (most recent call last): File "/workspace/examples/SparseAPI/graph_transformer.py", line 184, in <module> g.ndata["PE"] = dgl.lap_pe(g, k=pos_enc_size, padding=True) File "/usr/local/lib/python3.10/dist-packages/dgl/transforms/functional.py", line 3703, in lap_pe eigvals = F.tensor(topk_EigVal, dtype=F.float32) UnboundLocalError: local variable 'topk_EigVal' referenced before assignment
conda
pip
This may be due to missing to define topk_EigVal in the following conditional block:
topk_EigVal
Lines 3684 to 3693 in 617979d
The text was updated successfully, but these errors were encountered:
frozenbugs
xiangyuzhi
No branches or pull requests
🐛 Bug
Hi, I found one of the SparseAPI -related example crashed due to this function:
dgl/python/dgl/transforms/functional.py
Line 3614 in 617979d
Details attached below...
To Reproduce
Steps to reproduce the behavior:
Output error:
Environment
conda
,pip
, source): sourceAdditional context
This may be due to missing to define
topk_EigVal
in the following conditional block:dgl/python/dgl/transforms/functional.py
Lines 3684 to 3693 in 617979d
The text was updated successfully, but these errors were encountered: