|
Download README.md from abdurad/TSAM: direct link, hf CLI and curl.
- Browser
- Download file 2.38 kB
-
https://huggingface.co/abdurad/TSAM/resolve/main/README.md
- Command line
-
hf download hf://abdurad/TSAM/README.md
-
curl -L -o README.md https://huggingface.co/abdurad/TSAM/resolve/main/README.md
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
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}
}