-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Running image segmenter on codepen gives different results than running image segmenter on mediapipe studio on ios chrome #5862
Comments
some other devices I have tested on works doesn't work |
Hi @kaneishere, We are unable to determine the cause of the detection issue with the current information. Could you please share any error logs you are encountering? These logs will help us diagnose the problem. 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. |
These are the logs I get when I run the codepen link. No errors but I can't visualize 'Others' LOGI0307 01:00:38.651000 1922656 segmentation_postprocessor_gl.cc:382] SOFTMAX activation function chosen on GPU, but only category mask produced, so not applying. |
It's not an error per se, the problem is that I'm seeing an inconsistency in the segmentation results across devices. The call to the API still returns, but the result is incorrect |
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
ios 18.3.1
Mobile device if the issue happens on mobile device
iphone 14 pro max
Browser and version if the issue happens on browser
133.0.6943.84
Programming Language and version
javascript
MediaPipe version
0.10.21
Bazel version
No response
Solution
ImageSegmenter
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
Codepen example modified to use multiclass selfie segmenter and paint 'others' (line 158) region does not paint 'others' region when run on my ios chrome. However, the multiclass segmenter on mediapipe studio works just fine, showing me the expected 'others' region.
Describe the expected behaviour
Expect codepen example (https://codepen.io/Kane-Wu/pen/bNGNrPw) modified to use multiclass selfie segmenter (modified to show 'Others' region only) to show the same results as mediapipe studio example
Standalone code/steps you may have used to try to get what you need
https://codepen.io/Kane-Wu/pen/bNGNrPw
Other info / Complete Logs
The text was updated successfully, but these errors were encountered: