`MediaPipeException: unknown: Could not build model from the provided pre-loaded flatbuffer: The model allocation is null/empty`
Closed this issue · 1 comments
shubham0204 commented
After downloading hand_landmarker.task
with download_tasks.gradle
, MediaPipe is unable to build the graph for the hand landmarker model and throws the following exception:
com.google.mediapipe.framework.MediaPipeException: unknown: Could not build model from the provided pre-loaded flatbuffer: The model allocation is null/empty
at com.google.mediapipe.framework.Graph.nativeStartRunningGraph(Native Method)
at com.google.mediapipe.framework.Graph.startRunningGraph(Graph.java:336)
at com.google.mediapipe.tasks.core.TaskRunner.create(TaskRunner.java:71)
at com.google.mediapipe.tasks.vision.handlandmarker.HandLandmarker.createFromOptions(HandLandmarker.java:183)
at com.shubham0204.ml.mediapipehandsdemo.FrameAnalyzer.setupHandLandmarker(FrameAnalyzer.kt:76)
at com.shubham0204.ml.mediapipehandsdemo.MainActivity.onCreate$lambda-0(MainActivity.kt:94)
shubham0204 commented
This issue was resolved by google-ai-edge/mediapipe#4178 (comment)