Improve model card for Hear-Your-Click

#4
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +60 -0
README.md CHANGED
@@ -1,3 +1,63 @@
1
  ---
2
  license: cc0-1.0
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc0-1.0
3
+ pipeline_tag: feature-extraction
4
  ---
5
+
6
+ # Hear-Your-Click: Interactive Object-Specific Video-to-Audio Generation
7
+
8
+ ![Hear-Your-Click Demo](https://github.com/user-attachments/assets/2ca49ab5-80ca-42c4-b9a5-9dc7959ac358)
9
+
10
+ Hear-Your-Click is an interactive framework enabling users to generate sounds for specific objects in a video by simply clicking on the frame. This novel approach overcomes limitations of traditional video-to-audio methods that rely on global video information, often struggling with complex scenes and tailored audio generation.
11
+
12
+ ## Paper
13
+ This model was presented in the paper [Hear-Your-Click: Interactive Object-Specific Video-to-Audio Generation](https://huggingface.co/papers/2507.04959).
14
+
15
+ ## Code
16
+ The official code repository for Hear-Your-Click can be found on GitHub: [SynapGrid/Hear-Your-Click-2024](https://github.com/SynapGrid/Hear-Your-Click-2024)
17
+
18
+ ## Abstract
19
+ Video-to-audio (V2A) generation shows great potential in fields such as film production. Despite significant advances, current V2A methods relying on global video information struggle with complex scenes and generating audio tailored to specific objects. To address these limitations, we introduce Hear-Your-Click, an interactive V2A framework enabling users to generate sounds for specific objects by clicking on the frame. To achieve this, we propose Object-aware Contrastive Audio-Visual Fine-tuning (OCAV) with a Mask-guided Visual Encoder (MVE) to obtain object-level visual features aligned with audio. Furthermore, we tailor two data augmentation strategies, Random Video Stitching (RVS) and Mask-guided Loudness Modulation (MLM), to enhance the model's sensitivity to segmented objects. To measure audio-visual correspondence, we designed a new evaluation metric, the CAV score. Extensive experiments demonstrate that our framework offers more precise control and improves generation performance across various metrics.
20
+
21
+ ## Usage
22
+ To get started with Hear-Your-Click, follow the steps below to set up the environment, download checkpoints, and run inference.
23
+
24
+ ### Installation
25
+ 1. Clone the repository:
26
+ ```bash
27
+ git clone https://github.com/SynapGrid/Hear-Your-Click-2024.git
28
+ cd Hear-Your-Click-2024
29
+ ```
30
+
31
+ 2. (Optional) Create a Conda environment:
32
+ ```bash
33
+ conda env create -n hyc python=3.9.11
34
+ conda activate hyc
35
+ ```
36
+
37
+ 3. Install dependencies:
38
+ ```bash
39
+ pip install -r requirements.txt
40
+ ```
41
+
42
+ ### Model Checkpoints
43
+ Download the necessary model weights and place them in the specified directories as instructed in the [official GitHub repository's `Model Checkpoints` section](https://github.com/SynapGrid/Hear-Your-Click-2024#model-checkpoints).
44
+
45
+ ### Inference Command
46
+ Launch the inference demo:
47
+ ```bash
48
+ python app.py --device cuda:0,1 --sam_model_type vit_b
49
+ ```
50
+
51
+ ## Citation
52
+ If you find this work useful for your research or applications, please cite our work:
53
+ ```bibtex
54
+ @misc{liang2025hearyourclickinteractivevideotoaudiogeneration,
55
+ title={Hear-Your-Click: Interactive Video-to-Audio Generation via Object-aware Contrastive Audio-Visual Fine-tuning},
56
+ author={Yingshan Liang and Keyu Fan and Zhicheng Du and Yiran Wang and Qingyang Shi and Xinyu Zhang and Jiasheng Lu and Peiwu Qin},
57
+ year={2025},
58
+ eprint={2507.04959},
59
+ archivePrefix={arXiv},
60
+ primaryClass={cs.CV},
61
+ url={https://arxiv.org/abs/2507.04959},
62
+ }
63
+ ```