mediapipe
mediapipe copied to clipboard
import mediapipe as mp from mediapipe.tasks import python from mediapipe.tasks.python import vision import os model_path = 'data_gen/utils/mp_feature_extractors/selfie_multiclass_256x256.tflite' if not os.path.exists(model_path): os.makedirs(os.path.dirname(model_path), exist_ok=True) print("downloading segmenter model from mediapipe...") os.system(f"wget https://storage.googleapis.com/mediapipe-models/image_segmenter/selfie_multiclass_256x256/float32/latest/selfie_multiclass_256x256.tflite") os.system(f"mv...
When I'm running phi-2 on device there is a issue while generating the responses. When I feed it a question it starts generating the response(although quite slow) but it just...
Hi, thanks for the examples. I faced the issue while initiallzing the app to the android devices which has, Android 11, API 30. If failed with the message of ----------------------------...
I would appreciate if anyone could provide assistance regarding this error message. Mediapipe has been installed and the camera being used with the Raspberry Pi 4 is functioning, which was...
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10. Release notes Sourced from ejs's releases. v3.1.10 Version 3.1.10 Commits d3f807d Version 3.1.10 9ee26dd Mocha TDD e469741 Basic pollution protection 715e950 Merge pull request...
I used [llm_inference](https://github.com/googlesamples/mediapipe/tree/main/examples/llm_inference) sample with `gemma-2b-it-cpu-int4.bin` on Pixel 8 Pro emulator. The prefill speed seems to be in minutes. Pixel 8 Pro configurations:- RAM - 22GB, VM heap - 512mb...
Can you please write a small code in which i can use multiclass selfie segmentation on my local machine?
![image](https://github.com/googlesamples/mediapipe/assets/46064265/912402b8-958b-47a3-ac1f-38ef4ed7f1ac)
# Description When running the app with a gemma 2b model, it crashes randomly after a few messages with error `java.util.ConcurrentModificationException`. I don't have much context on jetpack compose but...
2024-04-18 17:04:52.881 13129-13129 DEBUG pid-13129 A Build fingerprint: 'motorola/hiphi_g/hiphi:13/T1SHS33.35-23-20-2/d71e3-bf391:user/release-keys' 2024-04-18 17:04:52.881 13129-13129 DEBUG pid-13129 A Revision: 'pvt1b' 2024-04-18 17:04:52.881 13129-13129 DEBUG pid-13129 A ABI: 'arm64' 2024-04-18 17:04:52.881 13129-13129 DEBUG pid-13129...