Downloads · 30 days
0
lemonweed6312/SCAV
SCAV is a machine learning model from lemonweed6312. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch.
Official pretrained checkpoints for SCAV from Whence the Voice? Self-supervised Dual-source Audio-Visual Localisation via Selective Convergence (ECCV 2026).
Downloads · 30 days
0
Access
Public
Updated Aug 6, 2026
Repo size
828 MB
Likes
0
Public
Click a slice to open those files.
.pth828 MB · 100%
From the Hugging Face model README
Official pretrained checkpoints for SCAV from Whence the Voice? Self-supervised Dual-source Audio-Visual Localisation via Selective Convergence (ECCV 2026).
Project page · Paper · Code · VGGSound-Duet^Mask
Localising multiple simultaneous sound sources is challenging because source separation benefits from knowing source locations, while localisation benefits from separated audio. SCAV uses the selective convergence behaviour of contrastive audio-visual models in a progressive two-stage framework:
The method is self-supervised and does not require manual localisation annotations during training. The paper reports single-forward-pass localisation of both sources at 43.2 FPS on one NVIDIA A100 GPU.
| File | Architecture | Purpose |
|---|---|---|
checkpoints/best-stage1.pth | FlowAttnHardWayModel | Dominant-source localisation and generation of Stage 1 spatial-prior heatmaps |
checkpoints/best-stage2.pth | ASLNet | Progressive dual-source localisation using the Stage 1 spatial prior |
The checkpoints are provided together because Stage 2 is part of the same progressive SCAV pipeline and depends on heatmaps produced by Stage 1.
The repository is public and does not require an access token.
pip install -U "huggingface_hub[cli]"
hf download lemonweed6312/SCAV --local-dir ./SCAV-weights
To download one checkpoint only:
hf download lemonweed6312/SCAV checkpoints/best-stage1.pth \
--local-dir ./SCAV-weights
from huggingface_hub import hf_hub_download
stage1_path = hf_hub_download(
repo_id="lemonweed6312/SCAV",
filename="checkpoints/best-stage1.pth",
)
stage2_path = hf_hub_download(
repo_id="lemonweed6312/SCAV",
filename="checkpoints/best-stage2.pth",
)
Use these checkpoints with the official SCAV repository:
git clone https://github.com/happy-new-bears/SCAV.git
cd SCAV
The main requirements are Python 3.8 or newer, PyTorch 1.12 or newer, NumPy, h5py, OpenCV, scikit-learn, matplotlib, tqdm, and FFmpeg. CUDA is recommended. See the code repository for data preprocessing and the complete runtime setup.
The official evaluation scripts instantiate the corresponding model, load the checkpoint with torch.load, and accept either a wrapped model_state_dict or a plain state dictionary:
import torch
checkpoint = torch.load("/path/to/best-stage1.pth", map_location="cpu")
state_dict = checkpoint.get("model_state_dict", checkpoint)
# Instantiate FlowAttnHardWayModel exactly as in stage1_vggss/eval.py
# or stage1_vggss/eval_seg.py, then:
model.load_state_dict(state_dict)
model.eval()
Use FlowAttnHardWayModel for best-stage1.pth and ASLNet for best-stage2.pth. Model definitions and constructor settings are maintained in the official code repository.
If you use these checkpoints, please cite:
@inproceedings{hu2026scav,
title = {Whence the Voice? Self-supervised Dual-source Audio-Visual Localisation via Selective Convergence},
author = {Hu, Han and Lin, Dongheng and Hou, Yuqi and Li, Haotian and Chang, Hyung Jin and Jiao, Jianbo},
booktitle = {European Conference on Computer Vision (ECCV)},
year = {2026}
}