towhee
/
audio-embedding-clmr
copied
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions
11 lines
288 B
11 lines
288 B
from towhee import pipe, ops, AutoPipes
|
|
|
|
@AutoPipes.register
|
|
def AudioEmbeddingVggish():
|
|
return (
|
|
pipe.input('path')
|
|
.map('path', 'frame', ops.audio_decode.ffmpeg())
|
|
.map('frame', 'vec', ops.audio_embedding.clmr())
|
|
.output('vec')
|
|
)
|
|
|