{"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/weakly-supervised-semantic-segmentation-via-1","title":"Weakly-Supervised Semantic Segmentation via Sub-category Exploration","arxiv_id":"2008.01183","date":"2020-08-03","proceeding":"CVPR 2020 6","authors":["Yu-Ting Chang","Qiaosong Wang","Wei-Chih Hung","Robinson Piramuthu","Yi-Hsuan Tsai","Ming-Hsuan Yang"],"abstract":"Existing weakly-supervised semantic segmentation methods using image-level annotations typically rely on initial responses to locate object regions. However, such response maps generated by the classification network usually focus on discriminative object parts, due to the fact that the network does not need the entire object for optimizing the objective function. To enforce the network to pay attention to other parts of an object, we propose a simple yet effective approach that introduces a self-supervised task by exploiting the sub-category information. Specifically, we perform clustering on image features to generate pseudo sub-categories labels within each annotated parent class, and construct a sub-category objective to assign the network to a more challenging task. By iteratively clustering image features, the training process does not limit itself to the most discriminative object parts, hence improving the quality of the response maps. We conduct extensive analysis to validate the proposed method and show that our approach performs favorably against the state-of-the-art approaches.","url_abs":"https://arxiv.org/abs/2008.01183v1","url_pdf":"https://arxiv.org/pdf/2008.01183v1.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":"weakly-supervised-semantic-segmentation-via-1","repo_url":"https://github.com/Juliachang/SC-CAM","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"clustering","task_name":"Clustering"},{"task_slug":"object","task_name":"Object"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"weakly-supervised-semantic-segmentation-1","task_name":"Weakly supervised Semantic Segmentation"},{"task_slug":"weakly-supervised-semantic-segmentation","task_name":"Weakly-Supervised Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/weakly-supervised-semantic-segmentation-on","task":"Weakly-Supervised Semantic Segmentation","dataset":"PASCAL VOC 2012 val","model":"SC-CAM-ResNet-101","rank_in_archive_order":68,"of":73,"metrics":{"Mean IoU":"66.1"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2008.01183","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2008.01183"}},"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/Juliachang/SC-CAM","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":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":"4d8fbe9ff0f1714e","entry":"scores","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/iouutils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/iouutils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4d8fbe9ff0f1714e"}},{"code_sha256_prefix":"0f3b88f76a1f1b69","entry":"calculate_class_avg_iou","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/infer_utils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/infer_utils.py","link_basis":"first_harvest_node","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":"0f3b88f76a1f1b69"}},{"code_sha256_prefix":"b991660d9b0a2e9e","entry":"cam_npy_to_label_map","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/camutils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/camutils.py","link_basis":"first_harvest_node","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":"b991660d9b0a2e9e"}},{"code_sha256_prefix":"ac9ccf112fb4d9db","entry":"cls200_sum","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"train_cls.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/train_cls.py","link_basis":"first_harvest_node","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":"ac9ccf112fb4d9db"}},{"code_sha256_prefix":"e7b5ceebedb5efe7","entry":"compute_acc","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"train_cls.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/train_cls.py","link_basis":"first_harvest_node","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":"e7b5ceebedb5efe7"}},{"code_sha256_prefix":"95dfca01d7656b7c","entry":"convert_mxnet_to_torch","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"network/resnet38d.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/network/resnet38d.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":"95dfca01d7656b7c"}},{"code_sha256_prefix":"207543a1e7a80fd3","entry":"create_class_key_in_dict","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"create_pseudo_label.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/create_pseudo_label.py","link_basis":"first_harvest_node","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":"207543a1e7a80fd3"}},{"code_sha256_prefix":"1da77dcda491ece7","entry":"crop_with_box","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/imutils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/imutils.py","link_basis":"first_harvest_node","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":"1da77dcda491ece7"}},{"code_sha256_prefix":"aede9964dd51e4c8","entry":"dict2npy","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/camutils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/camutils.py","link_basis":"first_harvest_node","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":"aede9964dd51e4c8"}},{"code_sha256_prefix":"361a0bf7cb1e701e","entry":"draw_heatmap","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/camutils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/camutils.py","link_basis":"first_harvest_node","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":"361a0bf7cb1e701e"}},{"code_sha256_prefix":"b16041930709dec1","entry":"draw_heatmap","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/infer_utils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/infer_utils.py","link_basis":"first_harvest_node","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":"b16041930709dec1"}},{"code_sha256_prefix":"08008d2ed2836147","entry":"generate_merged_label","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"create_pseudo_label.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/create_pseudo_label.py","link_basis":"first_harvest_node","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":"08008d2ed2836147"}},{"code_sha256_prefix":"0a5d5355f060c563","entry":"get_img_path","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"train_cls.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/train_cls.py","link_basis":"first_harvest_node","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":"0a5d5355f060c563"}},{"code_sha256_prefix":"14cb2e4c07b535f6","entry":"get_random_crop_box","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/imutils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/imutils.py","link_basis":"first_harvest_node","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":"14cb2e4c07b535f6"}},{"code_sha256_prefix":"6e46befc4a038fa2","entry":"make_subclass_label","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"create_pseudo_label.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/create_pseudo_label.py","link_basis":"first_harvest_node","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":"6e46befc4a038fa2"}},{"code_sha256_prefix":"fab5abda02bc5312","entry":"random_crop","repo":"Juliachang/SC-CAM","repo_kind":"official","path":"tool/imutils.py","file_url":"https://github.com/Juliachang/SC-CAM/blob/HEAD/tool/imutils.py","link_basis":"first_harvest_node","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":"fab5abda02bc5312"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}