I have tried turning off compression in the gradle
aaptOptions {
noCompress "generic.tflite"
}
From what I’ve read this might have something to do with colab using the latest version of model maker (rather than 2.5)
Any help on how to get this Collab to work would be greatly appreciated. Or maybe even just inspecting the two tflite models to determine why one works and one doesn’t?
Might is have something to do with the meta data of the files?
On further inspection of working and non working models in Netron do we think the order of these outputs might be incorrect? (In red box on attached image)
I can’t seem to figure out how these instructions work. If anyone has some further elaboration on these steps?
Maybe someone has a bit of a guide of getting a Colab to work with TF 2.5 without having the compatibility errors that come up from other dependencies when using TF 2.5?
But am still having the app crash with recently trained models.
I’m currently using a modified version of the collab Salad Detection App so the Task Library build variants arent the same (are possibly not being used) as they are in other example app builds I’ve played around with.
Any other tips to change the class output order or to install tf 2.5 and avoid dependency clashes?