VGN icon indicating copy to clipboard operation
VGN copied to clipboard

Time to generate graphs

Open han-liu opened this issue 4 years ago • 3 comments

Hi, I'm wondering how long it takes to generate one graph from probability map/ground truth map (e.g., for DRIVE dataset)? It seems to take quite a long time with the parameters provided in the paper. Thanks.

han-liu avatar Nov 04 '20 21:11 han-liu

Hi, I can't remember how long it took exactly. But, I remember it took a long time for a dense graph. That's why I used the 'multiprocessing' module to generate multiple graphs from multiple prob. maps at the same time. You can try to make a sparser graph by controlling the vertex sampling sparsity (in our paper) if it is ok to you.

syshin1014 avatar Nov 04 '20 23:11 syshin1014

Thanks for the clarification. Here's another question. In the file make_graph_db.py line 133, can you clarify why the node labels as added as the node indices? I thought that would be binary value 0/1 obtained from the ground truth map. Thanks!

han-liu avatar Nov 08 '20 22:11 han-liu

In the line, 'node_idx' is irrelevant with the label indicating whether it is vessel or not. It's a general index for nodes in a graph, e.g. 0~N-1 for a graph having N nodes.

syshin1014 avatar Nov 10 '20 20:11 syshin1014