Update model card for Hear-Your-Click
Browse filesThis PR completely revamps the model card to accurately describe the **Hear-Your-Click** model, replacing the incorrect "Diff-Foley" content.
Key updates include:
- A comprehensive description of the model, its innovations, and purpose based on the paper abstract.
- Addition of the `pipeline_tag: video-to-audio` to the metadata for better discoverability.
- Direct links to the paper: https://huggingface.co/papers/2507.04959 and the GitHub repository: https://github.com/SynapGrid/Hear-Your-Click-2024.
- Detailed usage instructions for installation, model checkpoint download, and inference, as provided in the original GitHub repository.
- The correct BibTeX citation.
Please review and merge.
123456789101112131415161718192021222324252627282930---license: mit---### (NeurIPS 2023) Diff-Foley: Synchronized Video-to-Audio Synthesis with Latent Diffusion Models### Official Model Repo#### Model Include:- Stage1-CAVP Pretrained Model.- Stage2-LDM Pretrained Model.- Double Guidance Classifier.<p align="center"><img src="teaser.png"></p>## BibTeX```bibtex@misc{luo2023difffoley,title={Diff-Foley: Synchronized Video-to-Audio Synthesis with Latent Diffusion Models},author={Simian Luo and Chuanhao Yan and Chenxu Hu and Hang Zhao},year={2023},eprint={2306.17203},archivePrefix={arXiv},primaryClass={cs.SD}}```1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495---license: mitpipeline_tag: video-to-audio---# Hear-Your-Click: Interactive Object-Specific Video-to-Audio GenerationThis repository contains the official model for **Hear-Your-Click**, an interactive framework designed for object-specific video-to-audio (V2A) generation. It enables users to generate sounds for specific objects within a video simply by clicking on the frame, addressing the limitations of global video information in complex scenes.**[📚 Paper](https://huggingface.co/papers/2507.04959)** | **[💻 GitHub Repository](https://github.com/SynapGrid/Hear-Your-Click-2024)**<p align="center"><img src="https://github.com/user-attachments/assets/2ca49ab5-80ca-42c4-b9a5-9dc7959ac358"></p>## About Hear-Your-ClickHear-Your-Click introduces several key innovations to improve V2A generation:- **Object-aware Contrastive Audio-Visual Fine-tuning (OCAV)** with a **Mask-guided Visual Encoder (MVE)** to obtain object-level visual features aligned with audio.- Two tailored data augmentation strategies: **Random Video Stitching (RVS)** and **Mask-guided Loudness Modulation (MLM)**, which enhance the model's sensitivity to segmented objects.- A new evaluation metric, the **CAV score**, designed to measure audio-visual correspondence more accurately.This framework offers more precise control and significantly improves generation performance across various metrics.## InstallationTo set up the Hear-Your-Click environment, follow these steps:1. **Clone the repository**:```bashgit clone https://github.com/SynapGrid/Hear-Your-Click-2024.gitcd Hear-Your-Click-2024```2. **(Optional) Create a Conda environment**:```bashconda env create -n hyc python=3.9.11conda activate hyc```3. **Install dependencies**:```bashpip install -r requirements.txt```## Model Checkpoints1. **Download the model weights** and place them in `./hyc_inference/inference/ckpt/`:* [epoch=000059.ckpt](https://drive.google.com/file/d/1QX24gEmN-cG03NlO0zT1geK1eUgOqDtk/view?usp=drive_link)* [epoch_10.pt](https://drive.google.com/file/d/15tbqXR-99QNg-Il6wxPD66q4EM4UkVvJ/view?usp=drive_link)* [eval_classifier.ckpt](https://huggingface.co/SimianLuo/Diff-Foley/resolve/main/diff_foley_ckpt/eval_classifier.ckpt)* [double_guidance_classifier.ckpt](https://huggingface.co/SimianLuo/Diff-Foley/resolve/main/diff_foley_ckpt/double_guidance_classifier.ckpt)You can use `gdown` and `wget` for convenient downloading:```bashpip install gdowncd ./hyc_inference/inference/ckptgdown https://drive.google.com/uc?id=1QX24gEmN-cG03NlO0zT1geK1eUgOqDtkgdown https://drive.google.com/uc?id=15tbqXR-99QNg-Il6wxPD66q4EM4UkVvJwget https://huggingface.co/SimianLuo/Diff-Foley/resolve/main/diff_foley_ckpt/eval_classifier.ckptwget https://huggingface.co/SimianLuo/Diff-Foley/resolve/main/diff_foley_ckpt/double_guidance_classifier.ckpt```2. **Download additional model weights** and place them in `./checkpoints`:* [clap_clip.pt](https://github.com/MCR-PEFT/C-MCR/blob/main/checkpoints/clap_clip.pt)* [laion_clap_fullset_fusion.pt](https://huggingface.co/lukewys/laion_clap/blob/main/630k-fusion-best.pt)* [clip-vit-base-patch32](https://huggingface.co/openai/clip-vit-base-patch32)## Inference CommandLaunch the inference demo using the following command:```bashpython app.py --device cuda:0,1 --sam_model_type vit_b```## CitationIf you find this work useful for your research or applications, please cite our paper:```bibtex@misc{liang2025hearyourclickinteractivevideotoaudiogeneration,title={Hear-Your-Click: Interactive Video-to-Audio Generation via Object-aware Contrastive Audio-Visual Fine-tuning},author={Yingshan Liang and Keyu Fan and Zhicheng Du and Yiran Wang and Qingyang Shi and Xinyu Zhang and Jiasheng Lu and Peiwu Qin},year={2025},eprint={2507.04959},archivePrefix={arXiv},primaryClass={cs.CV},url={https://arxiv.org/abs/2507.04959},}```
README.md+82-17