logo
Browse Source

Update README

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 2 years ago
parent
commit
b1565c5121
  1. 3
      README.md

3
README.md

@ -16,7 +16,7 @@ As suggested, it is suitable to extract features at high level or warm up a larg
## Code Example ## Code Example
Generate embeddings for the audio "test.wav".
Generate embeddings for the audio "test.wav".
*Write the pipeline in simplified style*: *Write the pipeline in simplified style*:
@ -43,6 +43,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.vggish['frames', 'vecs']() .audio_embedding.vggish['frames', 'vecs']()
.select['path', 'vecs']()
.show() .show()
) )
``` ```

Loading…
Cancel
Save