Hi,
When I tried to execute snpe-onnx-to-dlc from SDK version 1.31.0 with latest version ONNX installed, I am getting following error message:
Traceback (most recent call last):
File "/home/snpe-1.31.0/snpe-1.31.0.522/bin/x86_64-linux-clang/snpe-onnx-to-dlc", line 11, in <module>
from snpe.converters import onnx as onnx_converter
File "/home/snpe-1.31.0/snpe-1.31.0.522/lib/python/snpe/converters/onnx/__init__.py", line 14, in <module>
from . import math_translations
File "/home/snpe-1.31.0/snpe-1.31.0.522/lib/python/snpe/converters/onnx/math_translations.py", line 600, in <module>
OnnxTranslations.register_translation(OnnxTanhTranslation(),
File "/home/snpe-1.31.0/snpe-1.31.0.522/lib/python/snpe/converters/onnx/math_translations.py", line 589, in __init__
self.register_op_schema('ScaledTanh', [1, 6])
File "/home/snpe-1.31.0/snpe-1.31.0.522/lib/python/snpe/converters/onnx/onnx_translations.py", line 66, in register_op_schema
schema = defs.get_schema(name, version, '')
RuntimeError: No schema registered for 'ScaledTanh'!
Could you please help to solve this issue?
I met the same problem when using python 3.6.8. We should change to python2.7 or python3.4 as the setup page requires.
'Python 2.7 or Python 3.4'