muhanzhang/pytorch_DGCNN

.mat files

LYF14020510036 opened this issue · 7 comments

Hello, I am a beginner of graph classification task. Could you tell me where is the code used to generate .mat files in folder data? If my graph benchmark datasets are downloaded from https://ls11-www.cs.tu-dortmund.de/staff/morris/graphkerneldatasets, do I need only the dortmund2txt.m file instead of the mat2txt.m file?

Yes. The .mat files are following the WL kernel toolbox tradition, and are rarely used by graph neural networks. If you use dortmund datasets, you only need "dortmund2txt.m". All graph datasets used here are in txt formats.

感谢您的回复,我注意到所用的数据集中原始的 **_graph_labels.txt 中 相同的lable 是在一块的(图1),如果label 是无序的(图2),是不是不支持
image
image

并不需要labels有序。dortmund2txt.m 会自动处理成最终的txt格式。

感谢您的回复,对我很多帮助,想入坑图分类,节点分类,您的work很赞, 非常感谢开源您的code, 我尝试调试您的代码

不好意思,又麻烦你了, 当我使用 dortmund2txt.m 转换数据集 COLLAB 时,报错, 你有遇到过不
image

Hi, please try to "clear all" before processing a new dataset.

非常感谢您的指导, 真的解决了