Skip to content
Permalink
Browse files

feat(lab encoder): add vggish for audio

  • Loading branch information...
jemmyshin committed Sep 2, 2019
1 parent d28ea17 commit 97bb6de2b7e39503bbe67f2192b1096a31a7c6e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/preprocessor/audio/vggish_example.py
@@ -49,7 +49,7 @@ def apply(self, doc: 'gnes_pb2.Document') -> None:
super().apply(doc)

if doc.raw_bytes:
for chunks in enumerate(doc.chunks):
for chunks in doc.chunks:
chunks.blob.CopyFrom(array2blob(np.array(self.waveform_to_examples(blob2array(chunks.blob),
sample_rate=self.sample_rate), dtype=np.float32)))
else:

0 comments on commit 97bb6de

Please sign in to comment.
You can’t perform that action at this time.