conda env create -f environment.yaml
conda activate vsnet
cd scripts
sh environment.sh
Data
Given a 3D mesh for a scene, we first decompose meshes into patches and select a landmark on a patch. Then, we compute ground truth patch segmentation maps and pixel-voting maps according to camera poses for training images. Please refer to our paper for more details. We evaluate our method on the Microsoft 7scenes dataset and the Cambridge Landmarks dataset. You can download the 7scenes dataset from here and Cambridge Landmarks dataset from here. We provide our preprocessed 7scenes training segmentation images here and cambridge training segmentation images here. The voting images are generate with the following script.
We provide training params used in our paper in collected_confgs.
The pretrained models could be found here. All data are tested on RTX 2070 and i7-9700K.
Thanks Hanqing Jiang and Liyang Zhou for their assistance of building corresponding 3D meshes.
Our voting intersection code is built upon PVNet.
Citation
@inproceedings{huang2021vs,
title={{VS-Net}: Voting with Segmentation for Visual Localization},
author={Huang, Zhaoyang and Zhou, Han and Li, Yijin and Yang, Bangbang and Xu, Yan and Zhou, Xiaowei and Bao, Hujun and Zhang, Guofeng and Li, Hongsheng},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
pages={6101--6111},
year={2021}
}
Copyright
This work is affiliated with ZJU-SenseTime Joint Lab of 3D Vision and CUHK-SenseTime Joint Lab. Its intellectual property belongs to SenseTime Group Ltd.
Copyright SenseTime. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
请发表评论