{"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":"/code/build-sam2-hf","entry":"build_sam2_hf","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-09-24T18:15:14+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample.","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; our fixture could not drive it","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":9,"n_papers_ran":0,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":4,"n_samples_ran":0,"n_samples_fingerprinted":0,"n_places":9,"n_places_pointer_only":3,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":0,"unverified":4},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2609.03756","paper":"/paper/arxiv-2609-03756","title":"ENEAS: Embedding-guided Neural Ensemble for Adaptive Segmentation","date":null,"month_inferred_from_arxiv_id":"2026-09","title_source":"syntology","repo":"speridlabs/eneas","path":"eneas/vendor/sam2/build_sam.py","file_url":"https://github.com/speridlabs/eneas/blob/HEAD/eneas/vendor/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"de8c2a625f263855","mcp_get_code":{"code_sha256":"de8c2a625f263855"}},{"arxiv_id":"2510.24195","paper":"/paper/arxiv-2510-24195","title":"Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM2","date":null,"month_inferred_from_arxiv_id":"2025-10","title_source":"syntology","repo":"CGCL-codes/UAP-SAM2","path":"sam2/build_sam.py","file_url":"https://github.com/CGCL-codes/UAP-SAM2/blob/HEAD/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"de8c2a625f263855","mcp_get_code":{"code_sha256":"de8c2a625f263855"}},{"arxiv_id":"2504.05541","paper":"/paper/caption-anything-in-video-fine-grained-object","title":"Caption Anything in Video: Fine-grained Object-centric Captioning via Spatiotemporal Multimodal Prompting","date":"2025-04-07","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"yunlong10/CAT-V","path":"sam2/build_sam.py","file_url":"https://github.com/yunlong10/CAT-V/blob/HEAD/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"code_sha256_prefix":"de8c2a625f263855","mcp_get_code":{"code_sha256":"de8c2a625f263855"}},{"arxiv_id":"2501.13667","paper":"/paper/mpg-sam-2-adapting-sam-2-with-mask-priors-and","title":"MPG-SAM 2: Adapting SAM 2 with Mask Priors and Global Context for Referring Video Object Segmentation","date":"2025-01-23","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"rongfu-dsb/MPG-SAM2","path":"models/sam2/build_sam.py","file_url":"https://github.com/rongfu-dsb/MPG-SAM2/blob/HEAD/models/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"c83fb75d631af894","mcp_get_code":{"code_sha256":"c83fb75d631af894"}},{"arxiv_id":"2411.17576","paper":"/paper/a-distractor-aware-memory-for-visual-object","title":"A Distractor-Aware Memory for Visual Object Tracking with SAM2","date":"2024-11-26","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"jovanavidenovic/dam4sam","path":"sam2/build_sam.py","file_url":"https://github.com/jovanavidenovic/dam4sam/blob/HEAD/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"de8c2a625f263855","mcp_get_code":{"code_sha256":"de8c2a625f263855"}},{"arxiv_id":"2410.16268","paper":"/paper/sam2long-enhancing-sam-2-for-long-video","title":"SAM2Long: Enhancing SAM 2 for Long Video Segmentation with a Training-Free Memory Tree","date":"2024-10-21","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"mark12ding/sam2long","path":"sam2/build_sam.py","file_url":"https://github.com/mark12ding/sam2long/blob/HEAD/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"de8c2a625f263855","mcp_get_code":{"code_sha256":"de8c2a625f263855"}},{"arxiv_id":"2408.16768","paper":"/paper/sam2point-segment-any-3d-as-videos-in-zero","title":"SAM2Point: Segment Any 3D as Videos in Zero-shot and Promptable Manners","date":"2024-08-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"ziyuguo99/sam2point","path":"sam2/build_sam.py","file_url":"https://github.com/ziyuguo99/sam2point/blob/HEAD/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"b817431ff3ed73b4","mcp_get_code":{"code_sha256":"b817431ff3ed73b4"}},{"arxiv_id":"2408.07931","paper":"/paper/surgical-sam-2-real-time-segment-anything-in","title":"Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning","date":"2024-08-15","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"jinlab-imvr/surgical-sam-2","path":"sam2/build_sam.py","file_url":"https://github.com/jinlab-imvr/surgical-sam-2/blob/HEAD/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"b532a4eee5754aee","mcp_get_code":{"code_sha256":"b532a4eee5754aee"}},{"arxiv_id":"2302.01872","paper":"/paper/mose-a-new-dataset-for-video-object","title":"MOSE: A New Dataset for Video Object Segmentation in Complex Scenes","date":"2023-02-03","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"henghuiding/MOSE-api","path":"MOSEv2/sam2_rcms/sam2/build_sam.py","file_url":"https://github.com/henghuiding/MOSE-api/blob/HEAD/MOSEv2/sam2_rcms/sam2/build_sam.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"de8c2a625f263855","mcp_get_code":{"code_sha256":"de8c2a625f263855"}}]}