{"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/continual-adaptation-for-deep-stereo","title":"Continual Adaptation for Deep Stereo","arxiv_id":"2007.05233","date":"2020-07-10","proceeding":null,"authors":["Matteo Poggi","Alessio Tonioni","Fabio Tosi","Stefano Mattoccia","Luigi Di Stefano"],"abstract":"Depth estimation from stereo images is carried out with unmatched results by convolutional neural networks trained end-to-end to regress dense disparities. Like for most tasks, this is possible if large amounts of labelled samples are available for training, possibly covering the whole data distribution encountered at deployment time. Being such an assumption systematically unmet in real applications, the capacity of adapting to any unseen setting becomes of paramount importance. Purposely, we propose a continual adaptation paradigm for deep stereo networks designed to deal with challenging and ever-changing environments. We design a lightweight and modular architecture, Modularly ADaptive Network (MADNet), and formulate Modular ADaptation algorithms (MAD, MAD++) which permit efficient optimization of independent sub-portions of the entire network. In our paradigm, the learning signals needed to continuously adapt models online can be sourced from self-supervision via right-to-left image warping or from traditional stereo algorithms. With both sources, no other data than the input images being gathered at deployment time are needed. Thus, our network architecture and adaptation algorithms realize the first real-time self-adaptive deep stereo system and pave the way for a new paradigm that can facilitate practical deployment of end-to-end architectures for dense disparity regression.","url_abs":"https://arxiv.org/abs/2007.05233v3","url_pdf":"https://arxiv.org/pdf/2007.05233v3.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":"continual-adaptation-for-deep-stereo","repo_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"depth-estimation","task_name":"Depth Estimation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2007.05233","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.05233"}},"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/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_honours":1,"unverified":15},"by_repo_kind":{"official":{"samples":16,"ran":1,"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":"a49ec0b422e77ed3","entry":"softmax","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Stereo_Continual_Adaptation.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Stereo_Continual_Adaptation.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a49ec0b422e77ed3"}},{"code_sha256_prefix":"27cc437d9adfb80e","entry":"augment","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/preprocessing.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/preprocessing.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"27cc437d9adfb80e"}},{"code_sha256_prefix":"73c89e4ebc93f573","entry":"check_for_weights_or_restore_them","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/weights_utils.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/weights_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"73c89e4ebc93f573"}},{"code_sha256_prefix":"e0bb29258316c3e5","entry":"correlation","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Nets/sharedLayers.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Nets/sharedLayers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e0bb29258316c3e5"}},{"code_sha256_prefix":"4e0ad923ad4f4da7","entry":"correlation_native","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Nets/sharedLayers.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Nets/sharedLayers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4e0ad923ad4f4da7"}},{"code_sha256_prefix":"539df991fa984e18","entry":"correlation_tf","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Nets/sharedLayers.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Nets/sharedLayers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"539df991fa984e18"}},{"code_sha256_prefix":"52ac8b9a9d55427b","entry":"get_var_to_restore_list","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/weights_utils.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/weights_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"52ac8b9a9d55427b"}},{"code_sha256_prefix":"f7bd997c454b72ef","entry":"l1","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Losses/loss_factory.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Losses/loss_factory.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f7bd997c454b72ef"}},{"code_sha256_prefix":"554090648d5d1688","entry":"l2","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Losses/loss_factory.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Losses/loss_factory.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"554090648d5d1688"}},{"code_sha256_prefix":"741b7a75bf889cab","entry":"mean_l1","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Losses/loss_factory.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Losses/loss_factory.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"741b7a75bf889cab"}},{"code_sha256_prefix":"683bb31446329db4","entry":"pad_image","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/preprocessing.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/preprocessing.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"683bb31446329db4"}},{"code_sha256_prefix":"1b7e0b1f89402910","entry":"random_crop","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/preprocessing.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/preprocessing.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1b7e0b1f89402910"}},{"code_sha256_prefix":"5bd87bf6c7536635","entry":"readPFM","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/continual_data_reader.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/continual_data_reader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5bd87bf6c7536635"}},{"code_sha256_prefix":"dd9ab5ac64bbf156","entry":"read_image_from_disc","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/continual_data_reader.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/continual_data_reader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dd9ab5ac64bbf156"}},{"code_sha256_prefix":"df3fd5fdcb3396f4","entry":"read_list_file","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/continual_data_reader.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/continual_data_reader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"df3fd5fdcb3396f4"}},{"code_sha256_prefix":"9a30df72bada5055","entry":"read_list_file","repo":"CVLAB-Unibo/Real-time-self-adaptive-deep-stereo","repo_kind":"official","path":"Data_utils/data_reader.py","file_url":"https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/HEAD/Data_utils/data_reader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9a30df72bada5055"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}