"Armnn Error: Cycle detected in graph at function LoadGraphDef" error while loading tensorflow binary model
Hi,
OS: Android 7.1 Armnn: v18.11
Problem Description: Failed while loading the tensorflow binary model
I have modified tests/TfMobileNet-Armnn/TfMobileNet-Armnn.cpp ssdlite.diff.zip to load another tensorflow model binary and then ran the test.
It gives error as below: $ LD_LIBRARY_PATH=/data/android_nn /data/android_nn/TfMobileNet-Armnn --data-dir=/data/android_nn/data_mobilenet/ --model-dir=/data/android_nn/data_mobilenet/
WARNING: linker: /data/android_nn/libarmnnTfParser.so: unused DT entry: type 0xf arg 0x10d33f ArmNN v20181100
Armnn Error: Cycle detected in graph at function LoadGraphDef [/home/Project/armnn-devenv/armnn/src/armnnTfParser/TfParser.cpp:2448]
I have downloaded the tensorflow binary from here. I want to use frozen_inference_graph.pb to get loaded via armnn.
Am I missing something? I appreciate if someone can give some hint.
Regards, KGor
Hi @krgor it seems likely that this model is using something not supported yet in the Tensorflow parser. You can see documentation about what we support here: https://github.com/ARM-software/armnn/blob/branches/armnn_18_11/src/armnnTfParser/TensorFlowSupport.md
@MatthewARM, Thanks for the update. You are right. Some of the layer mentioned in the Graph is not supproted by the Tensorflow parser. We can close the ticket.