Closed geaxgx closed 2 years ago
Fixes. PyPI has been updated, but the Docker container will take the remaining 20 minutes to complete the GitHub Action CI. https://github.com/PINTO0309/tflite2tensorflow/releases/tag/v1.16.2
Commited. :smile: Thank you! https://github.com/PINTO0309/PINTO_model_zoo/tree/main/033_Hand_Detection_and_Tracking/21_new_full_lite
Thanks @PINTO0309 ! A quick feedback: the new models work on a 192x192 image vs 128x128 for the older version. They are significantly slower. On MyriadX (depthai):
Difficult to judge accuracy on only one test, but this what I get on this image:
older:
lite :
-full:
Strangely, full is worse than lite on this image. I am not sure yet I will update my hand tracker repo with these models (I am a bit disappointed :-).
Issue Type
Bug
OS
Ubuntu
OS architecture
x86_64
Programming Language
Python
Framework
OpenVINO
Download URL for tflite file
https://github.com/google/mediapipe/blob/master/mediapipe/modules/palm_detection/palm_detection_lite.tflite https://github.com/google/mediapipe/blob/master/mediapipe/modules/palm_detection/palm_detection_full.tflite
Description
Hi @PINTO0309 ! I have just noticed that Goggle has updated the palm detection model a few weeks ago (I missed them because does not appear in release notes). Now there are 2 models (lite and full). Naturally I would like to test them :-) So after running
docker pull ghcr.io/pinto0309/tflite2tensorflow:latest
, when running:tflite2tensorflow --model_path palm_detection_lite.tflite --model_output_path palm_detection_lite --flatc_path ../../flatc --schema_path ../../schema.fbs --output_pb --optimizing_for_openvino_and_myriad --rigorous_optimization_for_myriad
I get :ValueError: Tensor data is null. Run allocate_tensors() first
Relevant Log Output
Source code for simple inference testing code
No response