csharpseattle / tensorflowiOS

A Real Time Object Detection application on iOS using Tensorflow and pre-trained COCO dataset models. Video frames are captured and inference is done locally using the provided mobilenet models. Both Swift and Objective-C projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to load model

yaoliangjun opened this issue · comments

Hi
I try to run on my 6s plus, and the console message is: "Failed to load model"
here is my debug screenshot, any suggestion?

image

Hi Jerry,
which model are you trying to load?

this model: "frozen_inference_graph"

image

I'm not sure. I haven't made changes to those graphs in several months. It looks like you might have some source control modifications judging by the '?'. Did you re-train?

thank you anyway, I will try again.

I am having the same issue. Could you solve it?

I am having the same issue. Could you solve it?

We need to build the tensorflow components with ANDROID_TYPES_FULL. In the terminal type:
export ANDROID_TYPES="-D__ANDROID_TYPES_FULL__"