facebookresearch / OrienterNet

Source Code for Paper "OrienterNet Visual Localization in 2D Public Maps with Neural Matching"
Other
424 stars 40 forks source link

Question about prepare MGL dataset #46

Open oWWWo3324 opened 4 months ago

oWWWo3324 commented 4 months ago

When attempting to download the MGL dataset using the command python -m maploc.data.mapillary.prepare --token $YOUR_ACCESS_TOKEN, the program does not respond.How can I fix it?

(py38) net@ubuntu:~/Desktop/catkin_ws/ori_ws/OrienterNet$ python -m maploc.data.mapillary.prepare --token ..... [2024-02-19 00:45:41 maploc INFO] Starting processing for location sanfrancisco_soma. [2024-02-19 00:45:41 maploc INFO] Fetching metadata for all images. 0%| | 0/41861 [00:00<?, ?it/s]

2

But data can be successfully obtained using the following method in the same network environment. 微信图片_20240219165858

oWWWo3324 commented 4 months ago

The issue has been identified as occurring during the execution of r = await self.client.get(url) within maploc.data.mapillary.download.py.

sarlinpe commented 4 months ago

Thank you for reporting this issue. With https://github.com/facebookresearch/OrienterNet/commit/41d2f9d5f14a637a84c99ae2e7fb8ba500fde2d1 we introduced a 2-minute timeout. Is any error shown after 2 min? Can you revert this commit and share the result?

oWWWo3324 commented 4 months ago

This code is already in the project, but the program still has no response or error after running for more than two minutes. 3