TSAM / README.md
abdurad's picture
Update README.md
09d60d9 verified
|
Raw History Blame Contribute Delete
2.38 kB
metadata
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 路 Project 路 Code

This repository contains an inference-only checkpoint of TSAM, initialized with SAM ViT-B.

Load

Use the accompanying TSAM Python implementation.

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:

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.

@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}
}