Update README.md

This commit is contained in:
Soham
2022-11-10 15:14:38 -08:00
committed by GitHub
parent 355b34a16b
commit 2bcc168ec4
+10
View File
@@ -48,6 +48,16 @@ audio_embeddings = clap_model.get_audio_embeddings(file_paths: List[str])
sim = clap_model.compute_similarity(audio_embeddings, text_embeddings)
```
## Examples
To run zero-shot evaluation on ESC50 dataset or on a single audio file from ESC50 check `CLAP\src\`. For zero-shot evaluation on ESC50 dataset:
```bash
> cd src && python zero_shot_classification.py
```
Output
```bash
ESC50 Accuracy: 82.6%
```
## Citation
https://arxiv.org/pdf/2206.04769.pdf
```