Closed imjking closed 11 months ago
wget https://storage.googleapis.com/mediapipe-assets/hand_landmark_full.tflite
tflite2tensorflow \
--model_path hand_landmark_full.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_pb
thanks for your reply. i tried your response, but still the same error. by the way, the url i pasted doesn't contain the tflite model, but i really got the tflite model previously, maybe the official mediapipe repository delete it.
I can only assume that the command you entered is wrong. Therefore, there is nothing more that I can specifically advise you on. If you are using Docker, it cannot be considered an environmental issue. I guess you don't have a .tflite file.
wget https://storage.googleapis.com/mediapipe-assets/hand_landmark_full.tflite
tflite2tensorflow \
--model_path hand_landmark_full.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_pb
tflite2tensorflow \
--model_path hand_landmark_full.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_no_quant_float32_tflite
ok thank you. could it be due to the version of flatbuffer? in docker it's 1.12.0, in the readme it's 2.0.8?
You don't have to worry about anything in particular, just execute the command I suggested above once you start Docker.
ok, succeed now. need to add "sudo" command. thank you.
Issue Type
Bug
OS
Ubuntu
OS architecture
x86_64
Programming Language
C++, Python
Framework
ONNX, TensorFlow, TensorFlowLite
Download URL for tflite file
https://github.com/google/mediapipe/blob/master/mediapipe/modules/hand_landmark/hand_landmark_full.tflite
Convert Script
tflite2tensorflow --model_path hand_landmark_full.tflite --flatc_path ../flatc --schema_path ../schema.fbs --output_pb
Description
hi, i saw this issue: https://github.com/PINTO0309/tflite2tensorflow/issues/33, and i use docker. want to convert model from mediapipe tflite to pd and quantify the model, but show FileNotFoundError: [Errno 2] No such file or directory: './hand_landmark_full.json' error, what's the problom?
Relevant Log Output
Source code for simple inference testing code
No response