{"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/localbins-improving-depth-estimation-by","title":"LocalBins: Improving Depth Estimation by Learning Local Distributions","arxiv_id":"2203.15132","date":"2022-03-28","proceeding":null,"authors":["Shariq Farooq Bhat","Ibraheem Alhashim","Peter Wonka"],"abstract":"We propose a novel architecture for depth estimation from a single image. The architecture itself is based on the popular encoder-decoder architecture that is frequently used as a starting point for all dense regression tasks. We build on AdaBins which estimates a global distribution of depth values for the input image and evolve the architecture in two ways. First, instead of predicting global depth distributions, we predict depth distributions of local neighborhoods at every pixel. Second, instead of predicting depth distributions only towards the end of the decoder, we involve all layers of the decoder. We call this new architecture LocalBins. Our results demonstrate a clear improvement over the state-of-the-art in all metrics on the NYU-Depth V2 dataset. Code and pretrained models will be made publicly available.","url_abs":"https://arxiv.org/abs/2203.15132v1","url_pdf":"https://arxiv.org/pdf/2203.15132v1.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":"localbins-improving-depth-estimation-by","repo_url":"https://github.com/shariqfarooq123/localbins","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"all","task_name":"All"},{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"depth-estimation","task_name":"Depth Estimation"},{"task_slug":"monocular-depth-estimation","task_name":"Monocular Depth Estimation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/monocular-depth-estimation-on-nyu-depth-v2","task":"Monocular Depth Estimation","dataset":"NYU-Depth V2","model":"LocalBins","rank_in_archive_order":47,"of":85,"metrics":{"Delta < 1.25":"0.91","Delta < 1.25^2":"0.986","Delta < 1.25^3":"0.997","RMSE":"0.351","absolute relative error":"0.098","log 10":"0.042"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2203.15132","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2203.15132"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/shariqfarooq123/localbins","reach":null}],"summary":{"ran":10,"ran_honours":1,"unverified":3},"by_repo_kind":{"official":{"samples":14,"ran":11,"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":14,"samples":[{"code_sha256_prefix":"94c5b7d2b4302b58","entry":"DecoderBN","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"94c5b7d2b4302b58"}},{"code_sha256_prefix":"3da118be1e97c0ab","entry":"DenseNet161","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3da118be1e97c0ab"}},{"code_sha256_prefix":"61ba7e7902884a5d","entry":"Encoder","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"61ba7e7902884a5d"}},{"code_sha256_prefix":"40cfa5c2ac71618f","entry":"IdentitySplitter","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"40cfa5c2ac71618f"}},{"code_sha256_prefix":"3ea1b754faaf2f5f","entry":"LinearSplitter","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3ea1b754faaf2f5f"}},{"code_sha256_prefix":"2644b40b12c023ae","entry":"NaiveSplitter","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"2644b40b12c023ae"}},{"code_sha256_prefix":"7f9272262523dd47","entry":"Projector","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"7f9272262523dd47"}},{"code_sha256_prefix":"eccbd8f04ac02f35","entry":"SeedBinRegressor","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"eccbd8f04ac02f35"}},{"code_sha256_prefix":"0362753091014ef8","entry":"SigmoidSplitter","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"0362753091014ef8"}},{"code_sha256_prefix":"60a23709ff31b1ce","entry":"UpSampleBN","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"60a23709ff31b1ce"}},{"code_sha256_prefix":"486a705761f533bf","entry":"positionalencoding2d","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"486a705761f533bf"}},{"code_sha256_prefix":"174989f235ede289","entry":"EfficientNet","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"174989f235ede289"}},{"code_sha256_prefix":"699d414fe9fb2cc2","entry":"UnetLocalBins","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"699d414fe9fb2cc2"}},{"code_sha256_prefix":"220bad915281cbcc","entry":"build_encoder","repo":"shariqfarooq123/localbins","repo_kind":"official","path":"models/localbins.py","file_url":"https://github.com/shariqfarooq123/localbins/blob/HEAD/models/localbins.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"220bad915281cbcc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}