HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

TransGeo: Transformer Is All You Need for Cross-view Image Geo-localization

Sijie Zhu Mubarak Shah Chen Chen

TransGeo: Transformer Is All You Need for Cross-view Image Geo-localization

Abstract

The dominant CNN-based methods for cross-view image geo-localization rely on polar transform and fail to model global correlation. We propose a pure transformer-based approach (TransGeo) to address these limitations from a different perspective. TransGeo takes full advantage of the strengths of transformer related to global information modeling and explicit position information encoding. We further leverage the flexibility of transformer input and propose an attention-guided non-uniform cropping method, so that uninformative image patches are removed with negligible drop on performance to reduce computation cost. The saved computation can be reallocated to increase resolution only for informative patches, resulting in performance improvement with no additional computation cost. This "attend and zoom-in" strategy is highly similar to human behavior when observing images. Remarkably, TransGeo achieves state-of-the-art results on both urban and rural datasets, with significantly less computation cost than CNN-based methods. It does not rely on polar transform and infers faster than CNN-based methods. Code is available at https://github.com/Jeff-Zilence/TransGeo2022.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
image-based-localization-on-cvactTransgeo
Recall@1: 84.95
Recall@1 (%): 98.37
Recall@10: 95.78
Recall@5: 94.14
image-based-localization-on-cvusa-1Transgeo
Recall@1: 94.08
Recall@10: 99.04
Recall@5: 98.36
Recall@top1%: 99.77
image-based-localization-on-vigor-cross-areaTransGeo
Hit Rate: 21.21
Recall@1: 18.99
Recall@1%: 88.94
Recall@10: 46.91
Recall@5: 38.24
image-based-localization-on-vigor-same-areaTransGeo
Hit Rate: 73.09
Recall@1: 61.48
Recall@1%: 99.56
Recall@10: 91.88
Recall@5: 87.54

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp