{"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/e2ec-an-end-to-end-contour-based-method-for","title":"E2EC: An End-to-End Contour-based Method for High-Quality High-Speed Instance Segmentation","arxiv_id":"2203.04074","date":"2022-03-08","proceeding":"CVPR 2022 1","authors":["Tao Zhang","Shiqing Wei","Shunping Ji"],"abstract":"Contour-based instance segmentation methods have developed rapidly recently but feature rough and hand-crafted front-end contour initialization, which restricts the model performance, and an empirical and fixed backend predicted-label vertex pairing, which contributes to the learning difficulty. In this paper, we introduce a novel contour-based method, named E2EC, for high-quality instance segmentation. Firstly, E2EC applies a novel learnable contour initialization architecture instead of hand-crafted contour initialization. This consists of a contour initialization module for constructing more explicit learning goals and a global contour deformation module for taking advantage of all of the vertices' features better. Secondly, we propose a novel label sampling scheme, named multi-direction alignment, to reduce the learning difficulty. Thirdly, to improve the quality of the boundary details, we dynamically match the most appropriate predicted-ground truth vertex pairs and propose the corresponding loss function named dynamic matching loss. The experiments showed that E2EC can achieve a state-of-the-art performance on the KITTI INStance (KINS) dataset, the Semantic Boundaries Dataset (SBD), the Cityscapes and the COCO dataset. E2EC is also efficient for use in real-time applications, with an inference speed of 36 fps for 512*512 images on an NVIDIA A6000 GPU. Code will be released at https://github.com/zhang-tao-whu/e2ec.","url_abs":"https://arxiv.org/abs/2203.04074v1","url_pdf":"https://arxiv.org/pdf/2203.04074v1.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":"e2ec-an-end-to-end-contour-based-method-for","repo_url":"https://github.com/zhang-tao-whu/e2ec","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":null,"task_name":"GPU"},{"task_slug":"instance-segmentation","task_name":"Instance Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"high","task_name":"Vocal Bursts Intensity Prediction"}],"methods":[{"method_slug":"speed","method_name":"SPEED"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/instance-segmentation-on-coco","task":"Instance Segmentation","dataset":"COCO test-dev","model":"E2EC DLA-34","rank_in_archive_order":99,"of":112,"metrics":{"AP50":"52.9","AP75":"35.9","mask AP":"33.8"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2203.04074","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2203.04074"}},"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":"deterministic:regex_extraction","url":"https://github.com/zhang-tao-whu/e2ec","reach":null}],"summary":{"ran":4,"ran_fixture":2,"ran_violates":1,"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"official":{"samples":10,"ran":8,"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":10,"samples":[{"code_sha256_prefix":"f8c1ba604a1b6554","entry":"BasicBlock","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"f8c1ba604a1b6554"}},{"code_sha256_prefix":"6a2b68bbd960464a","entry":"CircConv","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6a2b68bbd960464a"}},{"code_sha256_prefix":"afb40ca85e655fe5","entry":"DilatedCircConv","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"afb40ca85e655fe5"}},{"code_sha256_prefix":"011bae8152af99fb","entry":"Snake","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"011bae8152af99fb"}},{"code_sha256_prefix":"fd5777569afbda19","entry":"collect_training","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"fd5777569afbda19"}},{"code_sha256_prefix":"be149b62c5df8fd9","entry":"get_gcn_feature","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"be149b62c5df8fd9"}},{"code_sha256_prefix":"5e9198419c5fca8a","entry":"img_poly_to_can_poly","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"5e9198419c5fca8a"}},{"code_sha256_prefix":"a4bcb7fc929523eb","entry":"prepare_testing_init","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a4bcb7fc929523eb"}},{"code_sha256_prefix":"8231e49100cd1070","entry":"Evolution","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"8231e49100cd1070"}},{"code_sha256_prefix":"95c897ee3f9b2f82","entry":"prepare_training","repo":"zhang-tao-whu/e2ec","repo_kind":"official","path":"network/evolve/evolve.py","file_url":"https://github.com/zhang-tao-whu/e2ec/blob/HEAD/network/evolve/evolve.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"95c897ee3f9b2f82"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}