Hardware - xavier nx
Operating System ubuntu 18.04
Riva Version 2.0.0
Hi nvidia:
I follow the instruction on tutorials:“How do I use Riva ASR APIs with out-of-the box models”. I copy the code to a .py file, but when I run the .py, comes the error:
(venv-riva-tutorials) nvidia@nvidia-desktop:~/riva_tutorial/tutorials$ python xiang.py
Traceback (most recent call last):
File "xiang.py", line 5, in <module>
import riva.client.asr
File "/home/nvidia/riva_tutorial/tutorials/venv-riva-tutorials/lib/python3.6/site-packages/riva/client/__init__.py", line 4, in <module>
from riva.client.asr import (
File "/home/nvidia/riva_tutorial/tutorials/venv-riva-tutorials/lib/python3.6/site-packages/riva/client/asr.py", line 15, in <module>
import riva.client.proto.riva_asr_pb2 as rasr
AttributeError: module 'riva' has no attribute 'client'
Can anyone know how to fix it?