changyanchuan / SARN

SARN: Spatial Structure-Aware Road Network Embedding via Graph Contrastive Learning - EDBT 2023
10 stars 2 forks source link

How do I run your model using a road network in `networkx.Graph()` format (downloaded using osmnx)? #2

Closed csjiezhao closed 7 months ago

csjiezhao commented 10 months ago

I noticed that your code includes a lot of preprocessing in the osm2roadnetwork file, how can I perform this processing directly on 'networkx.Graph()' and obtain the custom OSMLoader class?

changyanchuan commented 10 months ago

We do not have any functions to convert OSMLoader objects to networkx.Graph()s so far. Sorry for inconvenience