0

I'm trying to deploy a .tflite to Firebase ML so that I can distribute it from there.

I used transfer learning on this TF Hub model. I then followed this tutorial to convert the model .tflite format.

This model gives good results in the python TFLite interpreter and can be used on Android if I package with the app.

However I want to serve the model via Firebase, so I use this tutorial to deploy the .tflite file to Firebase. Using this tutorial, I get an error firebase_admin.exceptions.FailedPreconditionError: Cannot publish a model that is not verified..

I can't find any information about this error anywhere, and given the model works on both Android and Python, I'm at a loss as to what could be causing this

bgrantham
  • 281
  • 4
  • 12

1 Answers1

0

Did you solve this issue? I had the same one, and it turned out the model size should be < 40mb. That caused the error, and the detailed error is only reported when uploading a model manually through web Firebase dashboard

박찬성
  • 11
  • 1