am15h / tflite_flutter_plugin

TensorFlow Lite Flutter Plugin
https://pub.dev/packages/tflite_flutter
Apache License 2.0
499 stars 352 forks source link

Pub-Cache folder location Mac #224

Open charlieforward9 opened 1 year ago

charlieforward9 commented 1 year ago

Would #200 remove the iOS initial config step? I was required to solve a problem with the setup and believe the README needs to be updated. Specifically: #126

l0rinc commented 1 year ago

Did you figure it out? I can't load any custom TensorFlow light model in Flutter...

charlieforward9 commented 1 year ago

@paplorinc I was able to get it working on this repo. My assumption about putting TensorFlowLiteC.framework folder into the /hosted/pub.dev directory instead of the /hosted/pub.dartlang.org directory.

This should be updated in the docs.

l0rinc commented 1 year ago

I managed to add it by first making it work from swift code: https://www.tensorflow.org/lite/guide/ios

walsha2 commented 1 year ago

Pleas see: https://github.com/am15h/tflite_flutter_plugin/issues/221#issuecomment-1493378921