-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recently getting this error: Cannot read properties of undefined (reading 'getShaderInfoLog') #5777
Comments
Hi @Denlar2, Thank you for raising this issue. To assist you further, could you please provide the complete standalone code you are using, or direct us to the relevant documentation or code examples? Additionally, it would be helpful if you could share the operating system you are using. This will allow us to better understand the issue and, if necessary, reproduce it on our end. |
Hi @kuaashish Here is the code i am using, there error happens, it is in the init of the pose model:
It is happening on many chromebooks, which is using the chromeOS? Hope you will be able to help? |
Hi @Denlar2, Are you still working on a resolution for this, or has the issue been resolved on your end? If not, could you please try delegating as CPU and let us know the status? Thank you!! |
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you. |
This issue was closed due to lack of activity after being marked stale for past 7 days. |
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: