-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No bounding boxes around the object! #7
Comments
When running while attached to Xcode do you see errors in the Xcode console? Also, make sure that predictions coming out of your own graph are not all getting ignored. Do a search for the variable |
So how do I change the kPredictionThreshold value?! |
It is at the top of TensorflowGraph.mm, line 15, and set to 50%. Inference scores below that value are ignored. The actual logic of ignoring anything below the threshold is on line 240 of that same file. You could inspect your scores coming out of your graph there. |
I tried to change the threshold value. Seems like the error is with loading the model file.
This is the message from the console. |
Sorry for the delay, Did you ever figure this out? Please verify that you built the iOS libs with |
I am using frozen_inference_graph generated after training with my dataset.
The same frozen_inference_graph.pb works fine with my Android Device. But in iOS I do not see any boxes around my objects.
I used your repository and executed it with the ssd_mobilenet_v1_coco_11_06_2017 model. It works fine. But my frozen_inference_graph is not working fine.
My files are added to the folders correctly and removed other models from the models folder. References are created accordingly. Also, changed my label_map file according to my trainig set. I don't know where I am going wrong.
Please help with this.
Thanks in advance.
The text was updated successfully, but these errors were encountered: