-
Notifications
You must be signed in to change notification settings - Fork 21
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
add sampling paradigm #10
base: main
Are you sure you want to change the base?
Conversation
…on. add recyclingsampling task class.
…-training for ClusterGCN.
…h-wise evaluation choice (as what PyG does)
@@ -86,7 +116,7 @@ def __init__(self, node_type, num_node, x=None, y=None, node_ids=None): | |||
|
|||
if x is not None: | |||
if isinstance(x, np.ndarray): | |||
x = torch.FloatTensor(x) | |||
x = torch.FloatTensor(x) #这里是原始实现,但是是有bug的 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
具体是什么bug?
import torch | ||
import warnings | ||
from scipy.sparse import csr_matrix | ||
from torch_geometric.utils import index_to_mask |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this import not used?
sgl/models/backup.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be excluded?
make examples clustergcn_nodeclass.py runable.
only node sampler
Add graphSAINT
…doesn't test GAT(only GCN and SAGE for ogbn-arxiv)
No description provided.