Skip to content
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

MediaPipe CodeLabs Samples Image Generation Android: App Crash on Initialization (GPU Memory?) #436

Open
sl33pyC01E opened this issue Aug 27, 2024 · 1 comment

Comments

@sl33pyC01E
Copy link

logcat.txt

I have attempted the codelabs tutorial in full, as well as attempted to build the full plugin app available in the non codelab samples directory. I have converted the models and loaded them into data/tmp/image_generator/bins/.

I have downloaded the test apk from google apis, and it works at any resolution below 512.
I have attempted to lower the resolution of the generation in both the unbuilt projects I have access to,
running the android profiler, it appears to be a GPU memory overflow.

I would appreciate any assistance, or a link to the project file that was used to build the apk that is currently at:
[https://storage.googleapis.com/mediapipe-tasks/image_generator/imagegenerator.apk] so that I can compare the code.

The built apk is definitely handling the coroutines differently or offloading or downscaling the bitmap or something, i tell you hwat.

@sl33pyC01E
Copy link
Author

OnePlus12 Snapdragon8Gen2 16GB of RAM

this pipeline honestly looks like a mess, I've been reading the other issues, it seems like a different error basically every time.

If the demo apk is opensourced now can I have the project file that built that apk exactly? I can probably figure it out from there. Paul please, i know ur busy but my dude, plz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant