-
Notifications
You must be signed in to change notification settings - Fork 45
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
Supporting localization for new land areas via Mapillary #6
Comments
Hi Sotiris, A) If you have lots of images of the same area, it is better to create a single large map tile once rather than querying OSM for each image. To do so, download the relevant OSM data from Geofabrik and create the tiles as: OrienterNet/maploc/data/mapillary/prepare.py Lines 354 to 360 in 8a30494
B) You would indeed need to augment I will update this issue after the code update. |
Dear Paul,
I am trying to find all images that belong to a rectangular area by "image ID" (as per the Mapillary API). The reason I am publicly asking the simple question of how to obtain those, is that there are different Mapillary API versions which at some point cause confusion as to how to generate/obtain them. For example, I downloaded all "image IDs" that fall within a circle centered around a point, but once I update the JSON file mentioned in this conversation, prepare.py is unable to get the metadata for the image IDs (which leads me to ask what I am doing wrong and crack the complexity of the API). On the other hand, I am still studying the implementation of the OrienterNet. I suppose that for a particular geographic area, I do have to obtain examples to augment the training / evaluation dataset in order to have a working OrienterNet that can answer queries for a particular land area.
Thank you for the pointer. I am going to look into this.
That would be very helpful. It seems to be a requirement in order to avoid diving into the OrienterNet implementation from scratch. I believe most people would need to go the Mapillary way in applying OrienterNet on a particular land area. |
Was the code to generate training and validation split added? Thanks
|
Dear all,
I would like to extend the vanilla OrienterNet system to support localization in a new area of land which, as always, is bounded by a large rectangular patch. The patch is defined by two points A and B with latitude and longitude coordinates. I want to use the Mapillary service to provide such a functionality in the OrienterNet.
To do this, if I am correct (please correct me if I am wrong), I first need to update the file at ./maploc/data/mapillary/splits_MGL_13loc.json which is internally copied into datasets/MGL once you call "python3 -m maploc.data.mapillary.prepare --token MYTOKEN". There, I have to create two new key-value pairs for the region I need to support.
Here are some basic questions:
How can we obtain the "image IDs" used in the definitions of areas such as in sanfrancisco_soma? What script is needed to obtain the image IDs corresponding to the rectangular patch of a new geographic area? Can someone point to a Mapillary snippet that does so (especially the one that was actually used by the developers of the OrienterNet to create entries for, e.g., sanfrancisco_soma)?
In the file ./maploc/data/mapillary/splits_MGL_13loc.json, what is the difference between two key-value pairs that are put under "train" and under "val"? In particular, how should the image IDs be obtained (collected/selected) for either case?
Many thanks in advance.
The text was updated successfully, but these errors were encountered: