Recently getting this error: Cannot read properties of undefined (reading 'getShaderInfoLog') #5777
Labels
platform:javascript
MediaPipe Javascript issues
task:pose landmarker
Issues related to Pose Landmarker: Find people and body positions
type:support
General questions
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Chrome browser
MediaPipe Tasks SDK version
0.10.19
Task name (e.g. Image classification, Gesture recognition etc.)
Pose Detection
Programming Language and version (e.g. C++, Python, Java)
Javascript
Describe the actual behavior
The model cant load, and sends and error message "Recently getting this error: Cannot read properties of undefined (reading 'getShaderInfoLog')"
Describe the expected behaviour
The model should be able to load and the posedetection would detect.
Standalone code/steps you may have used to try to get what you need
let modelPath = 'https://storage.googleapis.com/mediapipe-models/pose_landmarker/pose_landmarker_full/float16/1/pose_landmarker_full.task' const vision = await FilesetResolver.forVisionTasks( "https://cdn.jsdelivr.net/npm/@mediapipe/tasks-vision/wasm" ); this.poseLandmarker = await PoseLandmarker.createFromOptions(vision, { baseOptions: { modelAssetPath: modelPath, delegate: "GPU", }, runningMode: "VIDEO", numPoses: 1, minPoseDetectionConfidence: 0.5, minPosePresenceConfidence: 0.5, minTrackingConfidence: 0.5, smooth_landmarks: true, });
Other info / Complete Logs
The text was updated successfully, but these errors were encountered: