SNPE does not support half_pixel_centers param for Resize Layer
Join Date: 15 Nov 21
Posts: 15
Posted: Mon, 2021-11-22 02:20
when .onnx is converted into .dlc, the error was as follows:
ValueError: Conversion Error: SNPE does not support half_pixel_centers param for Resize Layer.
It occurs when saving .dlc in snpe-onnx-to-dlc , the node is "resize_1",the error log was as follows:
2021-11-22 17:45:31,811 - 188 - INFO - INFO_DLC_SAVE_LOCATION: Saving model at /home/wudi/project/RobustVideoMatting-onnx/my_model.dlc
Encountered Error: Conversion Error: SNPE does not support half_pixel_centers param for Resize Layer.
My .onnx model has been converted into .dlc successfully following your suggestion.
Thanks
My .onnx model has been converted into .dlc successfully following your suggestion.
Thanks
My .onnx model has been converted into .dlc successfully following your suggestion.
Thanks
My .onnx model has been transformed into .dlc successfully following your suggestion.
Thank you.
Hi, the same error occurs when saving .dlc in snpe-onnx-to-dlc, with the error code "SNPE does not support half_pixel_centers param for Resize Layer."
I tried change the code with your suggest but it did't work.
Could you help me to have a check with your answer in #3? Is that like as following?
Hi alucard:
step3 just fix the bug that onnx runtime output mismatch with CPU/DSP.
"SNPE does not support half_pixel_centers param for Resize Layer." ----> For this error, you have to pick up step 1 & step 2.
If you already apply 1 &2, another reason I can image is SNPE verion, you can use SNPE 1.55 if you already apply 1 &2