PetarV- / GAT

Graph Attention Networks (https://arxiv.org/abs/1710.10903)
https://petar-v.com/GAT/
MIT License
3.25k stars 650 forks source link

Please follow this to get the "Solution to creating the files under the data folder" #70

Open Joey0538 opened 3 years ago

Joey0538 commented 3 years ago

Please check the "prepare_data.py" and "build_graph.py" files from this link: https://github.com/yao8839836/text_gcn

Modify the "prepare_data.py" according to your needs. The "build_graph.py" helps in creating the ind.{dataset_name}.allx, ally, tx, ty, and adj (i.e. graph) files. Try to avoid runtime warning of "divide by zero" when you try to compile build_graph.py as it'll give you incorrect results.