JimengShi / FloodGTN_Prediction

This is official codes for the paper "Graph Transformer Network for Flood Forecasting with Heterogeneous Covariates".
1 stars 1 forks source link

About the distance adjacency #1

Open somuchtome opened 10 months ago

somuchtome commented 10 months ago

Hi, thank you for your great work. However, I do not find information in the paper about the distance adjacency. Can you explain more about how to get this matrix?

JimengShi commented 10 months ago

Hi. While training graph networks (e.g., train_gcn.ipynb file), we have a distance matrix to represent the connection relationship among nodes. Please see the graph_topology function in the graph.py file.