About the Google AI Edge category

Discuss the full AI edge stack, including LiteRT, MediaPipe, and Model Explorer.

From high level APIs and a performant runtime with CPU/GPU/NPU acceleration, to developer-friendly tooling to convert and optimize models for deployment on devices, Google AI Edge is a leading stack to deploy AI to devices.

21 Likes

Can anyone point me to the location on the android device which the ai edge gallery app saves the LiteRT model .task files to?

It seems in ModelMangaerViewModel.kt at line 149, the ā€˜externalFilesDir’ variable is defined by executing the getExternalFilesDir method on the ApplicationContext object. I don’t understand how one can determine the true value of the ā€˜externalFilesDir’ variable…

I’m trying to run this app on a disconnected android device, but the app immediately throws an error ā€œFailed to load model listā€ so I’m trying to manually copy the model .task files to the android device to resolve this issue. I don’t know where on the device the model file should be loaded, though.

I’ve already tried copying a LiteRT .task model file to the sdcard/Download directory, but the gallery app still throws this error.

Any suggestions? Thanks!