
PyG学习与应用
文章平均质量分 55
PyTorch Geometric
智慧的旋风
这个作者很懒,什么都没留下…
展开
-
我向OGB排行榜提交代码的经历
ogbn_arxiv_GCN_resThis is an improvement of baesline on the ogbn-arxiv dataset.我的代码:https://github.com/ytchx1999/ogbn_arxiv_GCN_resogbn-arxivThe framework is shown in the figure.Improvement Strategy:add skip-connection inspired by DeeperGCNadd ini原创 2021-02-21 12:55:04 · 1895 阅读 · 5 评论 -
引文网络数据集PyG代码
PyG-citation-networkGNN模型在引文网络数据集上的代码,包括Cora、Citeseer、Pubmed、ogbn-arxiv我的代码:https://github.com/ytchx1999/PyG-citation-network参考代码:https://github.com/snap-stanford/ogb/blob/master/examples/nodeproppred/arxiv/gnn.pyhttps://github.com/rusty1s/pytorch_ge原创 2021-02-20 10:02:58 · 1174 阅读 · 0 评论 -
OGB数据集的加载与处理【基于PyG】
GNN-Dataset典型图数据集的加载与使用(基于PyG)。OGB数据集ogbn-arxivogbn-products我的代码:https://github.com/ytchx1999/GNN-Dataset/blob/main/OGBn.ipynbfrom ogb.nodeproppred import PygNodePropPredDataset, Evaluatorimport torch_geometric.transforms as Togbn-arxiv1、加载数原创 2021-02-19 09:33:18 · 8889 阅读 · 7 评论 -
PyG实现GCN【Cora数据集】
from torch_geometric.datasets import Planetoidimport torch把这里一改就可以实现Citeseer和Pubmed数据集了。dataset_cora = Planetoid(root='./cora/',name='Cora')print(dataset_cora)Cora()import torchimport torch.nn as nnfrom torch_geometric.nn import MessagePassingf原创 2021-01-17 17:53:25 · 1956 阅读 · 1 评论 -
PyG下载、处理、探索Cora、Citeseer、Pubmed数据集【PyTorch geometric】
发现PyG已经有了封装好的数据加载、预处理模块了。感觉自己之前处理Cora、Citeseer、Pubmed都白搞了。所以现在我决定站在巨人的肩膀上????,PyG大法好啊!参考资料:https://pytorch-geometric.readthedocs.io/en/latest/notes/introduction.html需要的第三方库torchtorch_geometricfrom torch_geometric.datasets import Planetoidimport to原创 2021-01-17 17:47:44 · 7680 阅读 · 4 评论 -
PyTorch、PyG炼丹大法【资料汇总】
paper《FAST GRAPH REPRESENTATION LEARNING WITHPYTORCH GEOMETRIC》。文档https://pytorch-geometric.readthedocs.io/en/latest/项目地址https://github.com/rusty1s/pytorch_geometric原创 2020-12-11 16:29:11 · 1085 阅读 · 1 评论