Riva-Deploy (Occasional) Error

I am currently using riva-build and riva-deploy in the serrvicemaker docker to generate the models from the rmir files from the riva files download from the nvidia ngc.

I am currently working with TTS: HifiGan and Fastpitch for both male and female voices.

Riva-build executes correctly. Following with riva deploy:

riva-deploy servicemaker-dev/English-US-Female-1.rmir:<key_encode> data/models

I subsitute <key_encode> for the appropriate key, and am met with the following error:

File “src/opt/apollo/base/oled/samples/hello-world.py”, line 13, in
from demo_opts import get_device
File “/usr/local/lib/python3.6/dist-packages/demo_opts/init.py”, line 1, in
from .demo_opts import display_settings
File “/usr/local/lib/python3.6/dist-packages/demo_opts/demo_opts.py”, line 10, in
import Jetson.GPIO as GPIO
File “/usr/lib/python3/dist-packages/Jetson/GPIO/init.py”, line 1, in
from .gpio import *
File “/usr/lib/python3/dist-packages/Jetson/GPIO/gpio.py”, line 33, in
raise RuntimeError("The current user does not have permissions set to "
RuntimeError: The current user does not have permissions set to access the library functionalites. Please configure permissions or use the root user to run this

However, when I run the program a second time, Riva-deploy works and generates the models!
Could anyone clarify what is happening please?

Best regards

Hi @luke31

Thanks for your interest in Riva,

Apologies you face occasional error,

Thanks for sharing the riva-deploy output

We need the following information

  1. Riva version used (i.e 2.x.x) and type used (i.e Data Center or Embedded)
  2. Riva build full command with params (log output if possible)

Thanks

Good day,

I resolved the error!

but thank you regardless.

Best regards,
Luke