dmlc / dmlc/dgl

A question about dgl.nn.PyTorch.EGTLayer

Open
#6,404 4 comments 0 reactions 1 assignee Claimed by @rudongyu View on GitHub
stale-issue
Dominant language
Python
Stars
14.3k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

I have a question about dgl.nn.PyTorch.EGTLayer. I don't know how to define the mask parameter in the forward function. According to the official documentation, I define the mask variable with the valid position set to 0 and the invalid position set to -inf. But my model weight always changes to Nan every time I execute the code. But that doesn't happen when I don't use the mask variable. So now I don't know how to define the mask variable. Can you give an example of using the mask variable? Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.