extensive memory usage while running mediapipe hand landmarker and custom object detection #5626
Labels
os:macOS
Issues on MacOS
task::all
All tasks of MediaPipe
task:hand landmarker
Issues related to hand landmarker: Identify and track hands and fingers
type:performance
Execution Time and memory heap, stackoverflow and garbage collection related
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
macOS 14.6.1
MediaPipe Tasks SDK version
mediapipe 0.10.14
Task name (e.g. Image classification, Gesture recognition etc.)
Hand landmark detection, custom object detection from model maker
Programming Language and version (e.g. C++, Python, Java)
Python
Describe the actual behavior
Memory usage peaked at 30 GB when processing 1 minute 1080x1920@30fps video. And when runing a 4 min video memory used got to 90GB and my computer crashed
Describe the expected behaviour
Less memory used
Standalone code/steps you may have used to try to get what you need
Below the video_mode imported
The text was updated successfully, but these errors were encountered: