SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.15700 · IJCAI · 2024

MAS-SAM: Segment Any Marine Animal with Aggregated Features

Yang Liu, Huchuan Lu, Zifu Wan, Pingping Zhang, Tianyu Yan, Xinhao Deng

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 20 functions out of this paper's own repositories and ran 12 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
Drchip61/MAS-SAM — 12 of 20
FunctionStatusWhere it lives
Attention Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("83f765aaff985605")
Conv Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("aa1d3f6eb56aac2f")
PatchEmbed Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("f6ebdaee467a4c18")
adapter Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("2037cd696c266c0f")
add_decomposed_rel_pos Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("96bad2ef96fb6579")
conv_block Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("761a072ba4760197")
conv_pre Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("b4db11d8cc855157")
conv_up Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("fdd08851abe071e1")
conv_up0 Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("713df064f3abc1f7")
conv_up_pre Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("423b042d669b0385")
window_partition Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("44295279053c2920")
window_unpartition Ran Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("23bd2b62a8e69216")
Block Not yet run Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("8f4c88e2ba7c6212")
ImageEncoderViT Not yet run Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("e2097ccdbb403497")
LoRA_Sam Not yet run Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("fde7b569a116a3f3")
MaskDecoder Not yet run Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("7ee7d142292d4557")
Sam Not yet run Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("2682fdd5e82c677b")
_LoRA_qkv Not yet run Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("844f9d4dc11c493a")
desam Not yet run Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("04bf9641e259bf2e")
senet Not yet run Drchip61/MAS-SAM/MAS-SAM/sam_lora_image_encoder.py
pointer only (licence: NONE) · get_code("40e7d23cd911982a")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recently, Segment Anything Model (SAM) shows exceptional performance in generating high-quality object masks and achieving zero-shot image segmentation. However, as a versatile vision model, SAM is primarily trained with large-scale natural light images. In underwater scenes, it exhibits substantial performance degradation due to the light scattering and absorption. Meanwhile, the simplicity of the SAM's decoder might lead to the loss of fine-grained object details. To address the above issues, we propose a novel feature learning framework named MAS-SAM for marine animal segmentation, which involves integrating effective adapters into the SAM's encoder and constructing a pyramidal decoder. More specifically, we first build a new SAM's encoder with effective adapters for underwater scenes. Then, we introduce a Hypermap Extraction Module (HEM) to generate multi-scale features for a comprehensive guidance. Finally, we propose a Progressive Prediction Decoder (PPD) to aggregate the multi-scale features and predict the final segmentation results. When grafting with the Fusion Attention Module (FAM), our method enables to extract richer marine information from global contextual cues to fine-grained local details. Extensive experiments on four public MAS datasets demonstrate that our MAS-SAM can obtain better results than other typical segmentation methods. The source code is available at https://github.com/Drchip61/MAS-SAM.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.15700")
get_code_for_paper("2404.15700")
have("2404.15700")

Connect an agent — have() is free.