Learning Multi-Scene Absolute Pose Regression with Transformers

Yoli Shavit, Ron Ferens, Yosi Keller
3/21/2021
188 citations
cs.CV
transformer-attention

Official code: yolish/multi-scene-pose-transformer (65 stars, Python, last commit 2022-01-09).

Abstract

Absolute camera pose regressors estimate the position and orientation of a camera from the captured image alone. Typically, a convolutional backbone with a multi-layer perceptron head is trained with images and pose labels to embed a single reference scene at a time.

Show full abstract

Recently, this scheme was extended for learning multiple scenes by replacing the MLP head with a set of fully connected layers. In this work, we propose to learn multi-scene absolute camera pose regression with Transformers, where encoders are used to aggregate activation maps with self-attention and decoders transform latent features and scenes encoding into candidate pose predictions. This mechanism allows our model to focus on general features that are informative for localization while embedding multiple scenes in parallel. We evaluate our method on commonly benchmarked indoor and outdoor datasets and show that it surpasses both multi-scene and state-of-the-art single-scene absolute pose regressors. We make our code publicly available from https://github.com/yolish/multi-scene-pose-transformer.

View on arXivView PDF

Code Implementations(1)

Multi-Scene Camera Pose Regression with Transformers

659PythonMar 4, 20214 years ago

Similar Papers

Cite this paper

@article{shavit2021learning,
  title  = {Learning Multi-Scene Absolute Pose Regression with Transformers},
  author = {Yoli Shavit and Ron Ferens and Yosi Keller},
  year   = {2021},
  eprint = {2103.11468},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.11468}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.11468.svg)](https://codeofpaper.com/paper/2103.11468)

Discussion