BUPT-GAMMA / OpenHGNN

This is an open-source toolkit for Heterogeneous Graph Neural Network(OpenHGNN) based on DGL.
Apache License 2.0
848 stars 142 forks source link

This demo is no longer valid #163

Closed xbinglzh closed 1 year ago

xbinglzh commented 1 year ago

❓ Questions and Help

How to build a new dataset Overview

We use dgl.heterograph as our graph data structure.

The API dgl.save_graphs and dgl.load_graphs can be used in storing graph into the local. The Flow

Process your dataset as [dgl.heterograph](https://docs.dgl.ai/en/latest/guide/graph-heterogeneous.html#guide-graph-heterogeneous).
Store as graph.bin. Compress as dataset_name4model_name.zip
Upload the zip file to s3.
If the dataset is Heterogeneous Information Network, you can modify the [AcademicDataset](https://github.com/BUPT-GAMMA/OpenHGNN/blob/main/openhgnn/dataset/academic_graph.py) directly. Or you can refer to it building a new Class Dataset.

We give a demo to build a new dataset.

demo This demo is no longer valid

dddg617 commented 1 year ago

Thanks for the questions, we will fix this soon, the new demo link is here: https://openhgnn.readthedocs.io/en/latest/advanced_materials/developer_guide.html#evaluate-a-new-dataset.