googlecodelabs / tensorflow-for-poets-2

Apache License 2.0
509 stars 463 forks source link

Missing instructions how to create the optimized model in the iOS tutorial #56

Open daniel opened 6 years ago

daniel commented 6 years ago

On the first page of the "TensorFlow for Poets 2: TFLite iOS" tutorial it says that you'll learn "How to compress your model", but I can't see any instructions for doing that.

It causes problems in step 5 when you add your model files to the project.

I don't have the "tf_files/optimized_graph.lite". I assume that's the file you get when you compress the model.

StevenLimpert commented 6 years ago

Hey, daniel. I just ran into the same problem. The solution I found was to use step 3 of the "TensorFlow for Poets 2: TFLite Android" codelab: "Convert the model to TFLite format"

https://codelabs.developers.google.com/codelabs/tensorflow-for-poets-2-tflite/#2