HardSigmoid activation not supported by snpe
Join Date: 15 Nov 21
Posts: 15
Posted: Tue, 2021-11-16 19:55
When I use snpe-onnx-to-dlc to convert MobilenetV3.onnx,
a error happening as "ERROR - Node HardSigmoid_7: 'No translation registered for op type onnx_hardsigmoid. Op is most likely not supported by the converter.'"
I use the following udo config, the error occurs "ERROR - Node HardSigmoid_7: ERROR_CANNOT_INGEST_STATIC_INPUT: Attempted to ingest static input data but static input 823 has no associated data, please include this input as a param"
"UdoPackage_0":
{
"Operators": [
{
"type": "HardSigmoid",
"inputs":[
{"name":"Placeholder", "data_type": "FLOAT_32", "static": false,
"tensor_layout": "NCHW"}
],
"outputs":[
{"name":"Output","data_type": "FLOAT_32", "tensor_layout": "NCHW"}
],
"core_types": ["CPU"]
}
],
"UDO_PACKAGE_NAME": "MyCustomUdoPackage",
"UDO_PACKAGE_PATH": "/home/wudi/Software/snpe-1.52.0.2724",
"SNPE_UDO_ROOT": "/home/wudi/Software/snpe-1.52.0.2724/share/SnpeUdo"
}
}
Hi Wudi,
It seems you already find this place.
Let's track you issue at here.
Could you please share the MobilenetV3.onnx to me ?
Thanks.
Dear customer,
Seems your UDO OP is the first layer, right? Then please set the "static" to "True" or not use it since your input is dynamic.
OK, thanks