This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
Wrong results on ANE when set minimum_ios_deployment_target=ios12 #569
Labels
bug
Unexpected behaviour that should be corrected (type)
🐞Describe the bug
I have trained a fcn-mobilenetv2 model using pytorch and have converted the model from onnx to mlmodel successfully both with minimum_ios_deployment_target=ios12 and minimum_ios_deployment_target=ios13 .
When ios12 target is set, I get correct prediction result using cpu-only and cpu+gpu, but get wrong result when using apple's ANE.
When ios13 target is set, I get correct results on the iphonexs with ios 13.3, cpu-only, cpu+gpu and ANE.
In the test, all the inputs are same, such as an image with fixed value.
So It seems that the convert tool may have some bugs to convert the model with ios12 target.
To Reproduce
Here is the onnx and mlmodel. I put it on the google drive:
https://drive.google.com/drive/folders/165ykvpEvM8SWe3CniuCv2ZWb1vv2_rO7?usp=sharing
System environment (please complete the following information):
The text was updated successfully, but these errors were encountered: