shaqian / flutter_tflite

Flutter plugin for TensorFlow Lite
https://pub.dartlang.org/packages/tflite
MIT License
634 stars 411 forks source link

using tflite for movenet with some error on parsing data #219

Open tonylu880042 opened 3 years ago

tonylu880042 commented 3 years ago

Hi, I would like to switch the posenet model to movenet model which is more efficient to generate the pose, however, tflite generate the following error. Initialized TensorFlow Lite runtime. flutter: Model:success Assertion failed: (TfLiteInterpreterGetOutputTensorCount(interpreter) == 4), function parsePoseNet, file /Users/tonylu/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/tflite-1.1.2/ios/Classes/TflitePlugin.mm, line 1327.

davortrifunov commented 2 years ago

Hello tonylu, did you find a way to run movenet in flutter? If you did can you share a code snippet or example of how you did it? I have been trying to do it and searched everywhere, but it is all unsuccessful. Thanks

thiranjayamunasinghe commented 2 years ago

+1

tonylu880042 commented 2 years ago

Hello tonylu, did you find a way to run movenet in flutter? If you did can you share a code snippet or example of how you did it? I have been trying to do it and searched everywhere, but it is all unsuccessful. Thanks

still no luck sorry ....

bhack commented 2 years ago

Is this working? https://github.com/harriseldon/movenet_flutter_example

JonasJW commented 2 years ago

Any updates