htcr / sam_road

Segment Anything Model for large-scale, vectorized road network extraction from aerial imagery. CVPRW 2024
https://arxiv.org/pdf/2403.16051.pdf
MIT License
98 stars 13 forks source link

Method of how to generate the GT graph #18

Closed Ikaros0123 closed 3 weeks ago

Ikaros0123 commented 1 month ago

Thanks for your great work!

Do I have to generate the GT graph if I just want to run inferencer.py using the given trained checkpoint?

I notice line 259, 263, 283 and 284 in inferencer.py, it seems like those code need GT graph of the rgb picture as input.

And if so, can you kindly share me the code/method to generate the GT graph? I would greatly appreciate it.