Wav2CLIP: Learning Robust Audio Representations From CLIP.
Project description
Wav2CLIP
Official implementation of the paper WAV2CLIP: LEARNING ROBUST AUDIO REPRESENTATIONS FROM CLIP
Installation
pip install wav2clip
Usage
Clip-Level Embeddings
import wav2clip
model = wav2clip.get_model()
embeddings = wav2clip.embed_audio(audio, model)
Frame-Level Embeddings
import wav2clip
model = wav2clip.get_model(frame_length=16000, hop_length=16000)
embeddings = wav2clip.embed_audio(audio, model)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wav2clip-0.1.0.tar.gz
(8.5 kB
view details)
Built Distribution
File details
Details for the file wav2clip-0.1.0.tar.gz
.
File metadata
- Download URL: wav2clip-0.1.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64cbfd21f9a794545a57b38467652b4bce6e5d84b0c4443967374eec3a14ac8f |
|
MD5 | bc43c08c1198caadfcecf22f58ec05b2 |
|
BLAKE2b-256 | 920674c899d72875eddd210b46b0cbfcba826e753d74ba2c3845771e34feb6d6 |
Provenance
File details
Details for the file wav2clip-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: wav2clip-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f939836485bc21c8d7ce222f197e325d5c92a473929d2ec493208a40b83c9014 |
|
MD5 | ff0ea664514530c4ff598ca7bcdb1661 |
|
BLAKE2b-256 | ce32a37c0c18850b64a55505d33b77b3bc2b224a6fd4b78c936ef8d29f6009b9 |