How to config the json file of UDO upsample? The model is only one layer of Upsample to resize a image of 1*3*320*512 to 1*3*640*1024
When I config as follows and run whit "snpe-onnx-to-dlc", it will print"Segmentatin fault"
{
"UdoPackage_0":
{
"Operators": [
{
"type": "Upsample",
"inputs":[
{"name":"input", "data_type": "FLOAT_32"},
{"name":"resize_0", "data_type": "FLOAT_32"}
],
"outputs":[
{"name":"2","data_type": "FLOAT_32"}
],
"core_types": ["CPU","GPU", "DSP"]
}
],
"UDO_PACKAGE_NAME": "UpsampleUdoPackage"
}
when I config the json file as follows, it will print"File "/home/chenjing/SNPE/snpe-1.39.0/lib/python/qti/aisw/converters/common/udo/udo_factory.py", line 144, in __create_onnx_udo_op
UDOFactory.update_tensor_infos_with_src_op_names(input_tensor_info, src_op.input)
File "/home/chenjing/SNPE/snpe-1.39.0/lib/python/qti/aisw/converters/common/udo/udo_factory.py", line 111, in update_tensor_infos_with_src_op_names
tensor_info[i].name = name
IndexError: list index out of range"
{
"UdoPackage_0":
{
"Operators": [
{
"type": "Upsample",
"inputs":[
{"name":"input", "data_type": "FLOAT_32"}
],
"outputs":[
{"name":"2","data_type": "FLOAT_32"}
],
"core_types": ["CPU","GPU", "DSP"]
}
],
"UDO_PACKAGE_NAME": "UpsampleUdoPackage"
}
}