在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):germain-hug/S2DHM开源软件地址(OpenSource Url):https://github.com/germain-hug/S2DHM开源编程语言(OpenSource Language):Python 99.9%开源软件介绍(OpenSource Introduction):Sparse-To-Dense Hypercolumn Matching for Long-Term Visual LocalizationThis is the official repository for the 3DV 2019 paper Sparse-To-Dense Hypercolumn Matching for Long-Term Visual Localization. We introduce propose a novel approach to feature point matching, suitable for robust and accurate outdoor visual localization in long-term scenarios. The proposed solution achieves state-of-the-art accuracy on several outdoor datasets, in challenging categories such as day-to-night or cross-seasonal changes. The proposed approach was ranked 2nd in the visual localization challenge of the CVPR 2019 challenge on Long-Term Visual Localization using this codebase, with state-of-the-art results on nighttime and rural environments.
InstallationRun the following commands to install this repository and the required dependencies: git clone https://github.com/germain-hug/S2DHM.git
cd S2D_Hypercolumn_Matching/
git submodule update --init --recursive
pip3 install -r requirements.txt
mkdir -p data/triangulation This code was run and tested on Python 3.7.3, using Pytorch 1.0.1.post2 although it should be compatible with some previous versions. You can follow instructions to install Pytorch here. Required assetsTo run this code, you will first need to download either RobotCar-Seasons or Extended CMU-Seasons from the website of the CVPR 2019 Challenge. Once unpacked, the root of the dataset should be updated accordingly in In addition, we provide a pre-computed reconstruction of both datasets computed using SuperPoint. These triangulations were obtained using scripts borrowed from HF-Net, please to their repository for more details. The triangulation The pre-trained weights for the main image retrieval network can be found under
Running
You can run either of the following modes: Nearest-neigbor pose approximationThis mode predicts the query pose based as the pose of the top-ranked image in the database. python3 run.py --dataset [robotcar|cmu] --mode nearest_neighbor Sparse-to-sparse SuperPoint matchingThis mode predicts the query pose using sparse-to-sparse matching with SuperPoint detections and features in the query image. python3 run.py --dataset [robotcar|cmu] --mode superpoint Sparse-to-dense hypercolumn matchingThis mode performs sparse-to-dense hypercolumn matching, as per the figure above. python3 run.py --dataset [robotcar|cmu] --mode sparse_to_dense Performance validationAfter running, a VisualizationTo export image logs in Configuration filesThis codebase uses the gin configuration file system to store all high-level parameters.
All configuration files can be found under Adding your own datasetThis repository provides code to run the pipeline on two dataset: RobotCar-Seasons and Extended CMU-Seasons. It can however be setup for your own dataset. To do so, you should create a new class inheriting Then, you will have to add a new config file for your dataset in Lastly, you will have to make sure that you have a reconstruction CitationPlease consider citing the corresponding publication if you use this work:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论