-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inference on imagery for which we don't have graph #19
Comments
In a typical application users will have an existing street map and want to find roads that are in the imagery but missing from their map. So using the EXISTING_GRAPH_FNAME setting in infer.py, RoadTracer will use starting locations along the existing road network and only infer segments along roads that didn't appear in the existing map. For a region where there is no map at all, there are two things you'd need to do:
Edit: the code still requires graph path but if it complains about graph file not existing you can just create it as an empty file. Only the starting_locations file is used, but if you use MANUAL_POINTs then it is not used either. |
Could you please post an example command for infering with new image data? I already applied the change (insert manual points, change USE_TL_LOCATIONS=False) but I can't make it run. |
ntelo007 What error do you get? In practice it makes sense to start with the existing map (like OpenStreetMap) and use tool like RoadTracer to add more roads. (With this RoadTracer code you can use --g option to pass the existing map.) Usually it would not make sense to infer a new map from scratch, that is useless map because it ignores the existing high-quality data. It is not a real problem. |
@uakfdotb Please have a look at issue #31 to see about the error I get. The reason why I would like to test the algorithm on a new image is to understand how it works and identify its limitations. There are thousands of roads still not mapped in underdeveloped countries, which could get benefited by such algortihms. |
Hi,
To run
infer.py
we need to pass two arguments; that is the path of graph and starting_locations. Since both is available for 40 cities data set, it is working fine over them.But what if we want to infer on entirely new region for which I've downloaded the required imagery using
1_sat.go
?Is there any workaround for this or do we need to download them first to proceed forward ?
On a different note : For applying Roadtracer on a new region we also need to pass
--r
switch, which contains the name of the region otherwise by default it assumeschicago
or reassign REGION .The text was updated successfully, but these errors were encountered: