Silero VAD Give "PermissionError: Cannot decrypt the artifact without passphrase"

Hardware - GPU T4
Hardware - CPU
Riva Version: 2.18.0

When I try to build Silero VAD I get “PermissionError: Cannot decrypt the artifact without passphrase”

I use this for riva-build

riva-build speech_recognition -f \
      /servicemaker-dev/models/VAD/silero_vad.riva:tlt_encode \
      --vad_type=silero \
      --neural_vad_nn.optimization_graph_level=-1 \
      --neural_vad.filter_speech_first=False \
      --neural_vad.min_duration_on=0.2 \
      --neural_vad.onset=0.85 \
      --neural_vad.offset=0.6 

Full error logs

2024-12-18 15:59:26,136 [INFO] Packing binaries for vad_nn: ***'nemo': ('silerovad', 'model_graph.onnx')***
2024-12-18 15:59:26,136 [INFO] Copying nemo:model_graph.onnx -> vad_nn:vad_nn-model_graph.onnx
Traceback (most recent call last):
  File "/usr/local/bin/riva-build", line 8, in <module>
    sys.exit(build())
  File "/usr/local/lib/python3.10/dist-packages/servicemaker/cli/build.py", line 102, in build
    rmir.write()
  File "/usr/local/lib/python3.10/dist-packages/servicemaker/rmir/rmir.py", line 152, in write
    newfact = art.create(name=target_name, content=fact.get_content(**cb), **props)
  File "<frozen eff.core.file>", line 307, in get_content
  File "<frozen eff.core.file>", line 268, in get_handle
  File "<frozen eff.core.file>", line 190, in decrypt
PermissionError: Cannot decrypt the artifact without passphrase

Is there anything that I’m missing?

Thanks

Hi @mehadi.hasan ,
Can you please try updating
/servicemaker-dev/<rmir_filename>:<encryption_key>

where you have to use encryption key as tlt_encode

And give this a retry?

Thanks

Instead of
/servicemaker-dev/models/VAD/silero_vad.riva:tlt_encode \
the
/servicemaker-dev/models/VAD/silero_vad.riva:tlt_encode\

works for me. Maybe there was extra space in the tlt_encode in my 1st approach.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.