Open spfhi opened 7 years ago
This is my code:
import sys from VAD import VAD
vad = VAD() f = open('worker_2.pcm') fr = f.read() result = vad.processFrame(fr) print(result)
invoke like this? But it met error.
frame = np.array(frame_input).astype(np.float32) ValueError: could not convert string to float:
Can you give a demo show how to use?
thanks!
This is my code:
import sys from VAD import VAD
vad = VAD() f = open('worker_2.pcm') fr = f.read() result = vad.processFrame(fr) print(result)
invoke like this? But it met error.
frame = np.array(frame_input).astype(np.float32) ValueError: could not convert string to float:
Can you give a demo show how to use?
thanks!