--- license: apache-2.0 language: - en base_model: facebook/sam-vit-base tags: - pytorch - Referring Audio-Visual Segmentation - Audio-Visual Segmentation - Multimodal Learning - SAM - CVPR2025 --- # TSAM **Temporal SAM Augmented with Multimodal Prompts for Referring Audio-Visual Segmentation** Abduljalil Radman and Jorma Laaksonen · Aalto University · CVPR 2025 [Paper](https://openaccess.thecvf.com/content/CVPR2025/html/Radman_TSAM_Temporal_SAM_Augmented_with_Multimodal_Prompts_for_Referring_Audio-Visual_CVPR_2025_paper.html) · [Project](https://abdurad.github.io/TSAM/) · [Code](https://github.com/abdurad/TSAM) This repository contains an inference-only checkpoint of TSAM, initialized with SAM ViT-B. ## Load Use the accompanying TSAM Python implementation. ```python import torch from huggingface_hub import hf_hub_download from tsam.runtime import load_checkpoint path = hf_hub_download(repo_id="abdurad/TSAM", filename="tsam_vit_b.pt") device = torch.device("cuda" if torch.cuda.is_available() else "cpu") model, metadata = load_checkpoint(path, device) model.eval() ``` For benchmark evaluation, pass your local data and feature paths: ```bash python evaluate_tsam.py \ --checkpoint /path/to/tsam_vit_b.pt \ --data-dir /path/to/REFAVS \ --text-features-dir /path/to/text_features \ --output-dir evaluations_output \ --audio-features-dir /path/to/audio_features ``` Extraction and dataset setup instructions are provided In the GitHub. ## License and citation Apache-2.0. Retain the included SAM attribution and license notices. Dataset and third-party asset licenses remain separate. ```bibtex @InProceedings{Radman_2025_CVPR, author = {Radman, Abduljalil and Laaksonen, Jorma}, title = {TSAM: Temporal SAM Augmented with Multimodal Prompts for Referring Audio-Visual Segmentation}, booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition}, year = {2025}, pages = {23947--23956} } ```