Closed AlexisPapaioannou closed 2 years ago
TensorFlow's optimizer changes the output order by itself, so my program cannot control it.
.tflite to .json
../flatc -t --strict-json --defaults-json -o ../schema.fbs -- xxxx.tflite
JSON rewrite. Open the JSON in the IDE, rewrite the order of the layers by hand, and save.
.json to .tflite
../flatc -o . -b ../schema.fbs xxxx.json
If you have solved the problem, then you should write a solution for other engineers.
Is there any way to change the order in which the results appear in the result layers?
I have these outputs
As a result this tflite model
But I want first to appear the "Identity:0429" and then the others.