{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/deep-visual-geo-localization-benchmark","title":"Deep Visual Geo-localization Benchmark","arxiv_id":"2204.03444","date":"2022-04-07","proceeding":"CVPR 2022 1","authors":["Gabriele Berton","Riccardo Mereu","Gabriele Trivigno","Carlo Masone","Gabriela Csurka","Torsten Sattler","Barbara Caputo"],"abstract":"In this paper, we propose a new open-source benchmarking framework for Visual Geo-localization (VG) that allows to build, train, and test a wide range of commonly used architectures, with the flexibility to change individual components of a geo-localization pipeline. The purpose of this framework is twofold: i) gaining insights into how different components and design choices in a VG pipeline impact the final results, both in terms of performance (recall@N metric) and system requirements (such as execution time and memory consumption); ii) establish a systematic evaluation protocol for comparing different methods. Using the proposed framework, we perform a large suite of experiments which provide criteria for choosing backbone, aggregation and negative mining depending on the use-case and requirements. We also assess the impact of engineering techniques like pre/post-processing, data augmentation and image resizing, showing that better performance can be obtained through somewhat simple procedures: for example, downscaling the images' resolution to 80% can lead to similar results with a 36% savings in extraction time and dataset storage requirement. Code and trained models are available at https://deep-vg-bench.herokuapp.com/.","url_abs":"https://arxiv.org/abs/2204.03444v2","url_pdf":"https://arxiv.org/pdf/2204.03444v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"deep-visual-geo-localization-benchmark","repo_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"benchmarking","task_name":"Benchmarking"},{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"geo-localization","task_name":"geo-localization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2204.03444","atlas_url":"https://app.syntology.ai/?focus=2204.03444","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.03444"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":1,"ran":4,"unverified":8},"by_repo_kind":{"official":{"samples":13,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"6bb7492655ecbda4","entry":"drop_path","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/cct/stochastic_depth.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/cct/stochastic_depth.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6bb7492655ecbda4"}},{"code_sha256_prefix":"0b387e5979c78d55","entry":"mac","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/functional.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/functional.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0b387e5979c78d55"}},{"code_sha256_prefix":"f9ba92375293c7b1","entry":"pe_check","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/cct/helpers.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/cct/helpers.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f9ba92375293c7b1"}},{"code_sha256_prefix":"463b2f96158e03a8","entry":"sare_ind","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/functional.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/functional.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"463b2f96158e03a8"}},{"code_sha256_prefix":"d15fdc91eec37e29","entry":"sare_joint","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/functional.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/functional.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d15fdc91eec37e29"}},{"code_sha256_prefix":"cf97fc0d1f953674","entry":"cct_2","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/cct/cct.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/cct/cct.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cf97fc0d1f953674"}},{"code_sha256_prefix":"f709bdf67ed60e8a","entry":"cct_4","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/cct/cct.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/cct/cct.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f709bdf67ed60e8a"}},{"code_sha256_prefix":"f1b8c16700889467","entry":"cct_6","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/cct/cct.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/cct/cct.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f1b8c16700889467"}},{"code_sha256_prefix":"c160834241fc1797","entry":"collate_fn","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"datasets_ws.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/datasets_ws.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c160834241fc1797"}},{"code_sha256_prefix":"f0db6d80ebf12bfa","entry":"path_to_pil_img","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"datasets_ws.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/datasets_ws.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f0db6d80ebf12bfa"}},{"code_sha256_prefix":"39ae5d524f68a36e","entry":"resize_pos_embed","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"model/cct/helpers.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/model/cct/helpers.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"39ae5d524f68a36e"}},{"code_sha256_prefix":"69d14231085af9e1","entry":"resume_model","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"util.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"69d14231085af9e1"}},{"code_sha256_prefix":"8e0b90019577ffc0","entry":"resume_train","repo":"gmberton/deep-visual-geo-localization-benchmark","repo_kind":"official","path":"util.py","file_url":"https://github.com/gmberton/deep-visual-geo-localization-benchmark/blob/HEAD/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8e0b90019577ffc0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}