I have Riva 2.7 version installed on jetson xavier nx.
I am trying to run transcribe_mic.py script but failed with the below error-
Traceback (most recent call last):
File “transcribe_mic.py”, line 75, in
main()
File “transcribe_mic.py”, line 60, in main
with riva.client.audio_io.MicrophoneStream(
File “/usr/local/lib/python3.8/dist-packages/riva/client/audio_io.py”, line 24, in enter
self._audio_stream = self._audio_interface.open(
File “/usr/lib/python3/dist-packages/pyaudio.py”, line 750, in open
stream = Stream(self, *args, **kwargs)
File “/usr/lib/python3/dist-packages/pyaudio.py”, line 441, in init
self._stream = pa.open(**arguments)
OSError: [Errno -9997] Invalid sample rate
Please provide the following information when requesting support.
Hardware - GPU (Nvidia Jetson Xavier NX)
Hardware - CPU
Operating System Jetpack 5.0.2
Riva Version 2.7.0
I raised this issue 4 days ago on Github.
Looking forward.