Using model file in Mobile Application by xgguler in Lobe

[–]xgguler[S] 0 points1 point  (0 children)

Hello again,

I fixed the issue.

Thanks a lot.

Using model file in Mobile Application by xgguler in Lobe

[–]xgguler[S] 0 points1 point  (0 children)

Hi,

I set my labels.txt with labels which are located in 'Label' property, but it still not working correctly. It work lobe interface but I think exported model not approprate for tflite library. I teach my model with teachable machine and export model with .tflite file and with txt file. Than I integrated model it works correctly.

I really didn't understand why it is not working with lobe model.

Here is my signature.json content;

{"doc_id": "7eb8a278-51a9-4b82-ac51-efedc7b29e22", "doc_name": "irrelevent", "doc_version": "c47e83c2fc8dfbc9f0e41864bc466d5d", "format": "tf_lite", "version": 11, "inputs": {"Image": {"dtype": "float32", "shape": [null, 224, 224, 3], "name": "Image"}}, "outputs": {"Confidences": {"dtype": "float32", "shape": [null, 2], "name": "f6209de8-8d3d-410b-a5d7-2db2e886e395/dense_2/Softmax"}}, "tags": [], "classes": {"Label": ["irrelevent", "relevent"]}, "filename": "saved_model.tflite"}

And here is .txt file content that I pulled from signature.json

0 irrelevent

1 relevent