Browse Source
Update README
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
1 changed files with
3 additions and
5 deletions
-
README.md
|
@ -44,6 +44,7 @@ import towhee |
|
|
.audio_decode.ffmpeg['path', 'frames']() |
|
|
.audio_decode.ffmpeg['path', 'frames']() |
|
|
.runas_op['frames', 'frames'](func=lambda x:[y[0] for y in x]) |
|
|
.runas_op['frames', 'frames'](func=lambda x:[y[0] for y in x]) |
|
|
.audio_embedding.data2vec['frames', 'vecs'](model_name="facebook/data2vec-audio-base-960h") |
|
|
.audio_embedding.data2vec['frames', 'vecs'](model_name="facebook/data2vec-audio-base-960h") |
|
|
|
|
|
.select['path', 'vecs']() |
|
|
.show() |
|
|
.show() |
|
|
) |
|
|
) |
|
|
``` |
|
|
``` |
|
@ -96,6 +97,3 @@ An audio embedding operator generates vectors in numpy.ndarray given an audio fi |
|
|
**Returns:** *numpy.ndarray* |
|
|
**Returns:** *numpy.ndarray* |
|
|
|
|
|
|
|
|
The audio embedding extracted by model. |
|
|
The audio embedding extracted by model. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|