You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use audio data get from mic_recorder() as input to transformers.Wav2Vec2Tokenizer, I need to convert raw audio data to np.array , I use 'np.frombuffer' : audio = np.frombuffer(audio_file['bytes'], type=float)
and get error:
The text was updated successfully, but these errors were encountered:
I want to use audio data get from mic_recorder() as input to transformers.Wav2Vec2Tokenizer, I need to convert raw audio data to np.array , I use 'np.frombuffer' :
audio = np.frombuffer(audio_file['bytes'], type=float)
and get error:
The text was updated successfully, but these errors were encountered: