mrsnu / band

Multi-DNN Inference Engine for Heterogeneous Mobile Processors
Other
23 stars 2 forks source link

[Core] Failing to register the model for `magenta_arbitrary-image-stylization-v1-256_int8_transfer_1.tflite` on Android #268

Open widiba03304 opened 1 year ago

widiba03304 commented 1 year ago

Current master and older versions fail to register magenta_arbitrary-image-stylization-v1-256_int8_transfer_1.tflite on Android due to not continuous unit subgraph indices in a merged subgraph.

Failed to create subgraph. Unit subgraph indices in subgraph Index {0,4} Ops {0,25-50} are not continous for model band/test/data/magenta_arbitrary-image-stylization-v1-256_int8_transfer_1.tflite and mode merge_unit_subgraph

Tested on Pixel 4 XL

dongho-Han commented 3 months ago

Change the test model from magenta_arbitrary-image-stylization-v1-256_int8_transfer_1.tflite to int8 qunatized model ffnet_40s_quantized.tflite from link. Pixel 4's DSP doesn't work well with Inceptionv3-quantized, so I used smaller & compatible model. I will PR the updated version, soon.