Dear Sir,
SNPE Version: 1.48.0.2554
Ubuntu : 18.04
We have a model which has multiple inputs and multiple outputs.
We have tested the model with snpe-net run successfully but looking for the same functionaity in SNPE Native CPP application.
As of now we have implemented the multiple input functionality but not able to extract multiple layer output from the model.
Only final layer output is dumped.
Can you please guide us to provide the OutputTensor names directly to snpe->execute so that mutiple output layers dumps happens.
Thanks and Regards,
Vyom Mishra
Dear Sir,
I have enabled option similiar to "--set_unconsumed_as_output" (option present in snpe-net -run) in SNPE Native Application.
i.e., .setUnconsumedTensorsAsOutputs(setOutput) in setBuilderOptions.cpp and able to get mutiple outputs layer dumps.
But expected output are 3 but we are getting only 2.
Kindly help us to extract all three outputs present in the network and suggest the options to do so.
Thanks and Regards,
Vyom Mishra
Dear Sir,
We are able to provide the multiple input and also able to dump multiple output.
We have modified the setBuilderoption to entertain two additional features for extracting the dump from supplied output layer names
" .setUnconsumedTensorsAsOutputs(setOutput)
Hi,
I met the same question as yours, I would like to know if all your inputs are put into input_list.txt? if the input is a (1, 16, 1024, 1024) feature, how to input?
Looking forward to your reply.
Thank you.
Dear customer,
SNPE will take the input list as the target execution dataset. You can specify the input and output node with below guide inside the input.txt while you run snpe-net-run.
BR.
Wei
Hi,
Which format is the .rawtensor? I would like to know how to convert my own tensor into ".rawtensor".
Looking forward to your response.
thanks,
Dear customer,
Above action just an sample for you. You can input with raw instead. The raw file is calculate by yourself. Regarding the input format requirements, you can reivew our SNPE doc for more info.
BR.
Wei