-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
using graph-yolo.pb error android example #56
Comments
No Opkernel means there is no implementation for the hardware running this Swap the names of two methods and you will be using my manual implementation, which should have no problem with Opkernel implementation. |
i have change the code, but can not generate .pb Traceback (most recent call last): class reorg(BaseOp):
|
Hey, that's a bug when translating from Python2 to Python3. Thanks for pointing it out, I updated the code. |
I got same problem and I swapped 2 function's names but the yolo.pb file is still cause error in Android. Please help me fix this!!! [[Node: ExtractImagePatches = ExtractImagePatches[T=DT_FLOAT, ksizes=[1, 2, 2, 1], padding="VALID", rates=[1, 1, 1, 1], strides=[1, 2, 2, 1]] (47-leaky)]] Thanks |
i have generate two file graph-tiny-yolo-voc.pb and graph-yolo.pb.
the file "graph-tiny-yolo-voc.pb" is ok, but graph-yolo.pb error
I/native: tensorflow_inference_jni.cc:139 Creating TensorFlow graph from GraphDef.
E/native: tensorflow_inference_jni.cc:146 Could not create TensorFlow graph: Invalid argument: No OpKernel was registered to support Op 'ExtractImagePatches' with these attrs. Registered devices: [CPU], Registered kernels:
[[Node: ExtractImagePatches = ExtractImagePatchesT=DT_FLOAT, ksizes=[1, 2, 2, 1], padding="VALID", rates=[1, 1, 1, 1], strides=[1, 2, 2, 1]]]
E/tensorflow: TensorFlowYoloDetector: TF init status: 3
The text was updated successfully, but these errors were encountered: