简体   繁体   English

Android Studio 中用于制作基于 model 的应用程序的最低 SDK(软件开发套件)级别是多少

[英]What would be minimum SDK(Software Development Kit) level in Android Studio for making a Machine Learning model based application

在此处输入图像描述 Basically, I have to make ML-based application in Android Studio.基本上,我必须在 Android Studio 中制作基于 ML 的应用程序。 I already make and trained my ML model and converted it into the TensorFlow Lite model.我已经制作并训练了我的 ML model 并将其转换为 TensorFlow Lite model。 But when it comes to the android studio while configuring my project there's an option for minimum SDK.但是当谈到 android 工作室时,在配置我的项目时,有一个最小 SDK 的选项。 As far as I know, you have to select the minimum SDK level so that your application can run on every android version.据我所知,您必须将 select 设为最低 SDK 级别,以便您的应用程序可以在每个 android 版本上运行。 In that case, how can I ensure that ML-based application will work fine on the older android version?在这种情况下,我如何确保基于 ML 的应用程序可以在较旧的 android 版本上正常工作? This is the reason I am asking what would be the minimum SDK level for ML-based application.这就是我问基于 ML 的应用程序的最低 SDK 级别的原因。

minimum SDK level is used to determine minimum API you want your application to support.最低 SDK 级别用于确定您希望应用程序支持的最低 API。 It doesn't quite related to your tflite model.它与您的 tflite model 不太相关。

I think what's most important is that you pull in correct tflite runtime which has all ops that your model uses.我认为最重要的是您引入了正确的 tflite 运行时,其中包含 model 使用的所有操作。

Not sure whether you model has metadata.不确定您的 model 是否有元数据。 If it does, maybe you can use ml model binding so you don't need write too many boilerplate code.如果是这样,也许您可以使用ml model 绑定,这样您就不需要编写太多样板代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android 开发套件 SDK 设置 - Android development kit SDK setup 选择Android SDK Manager进行离子开发的最低软件包是什么? - What are the minimum packages to choose for Android SDK manager for ionic development? 在开发Android应用程序时选择最低的SDK和API级别 - Choosing minimum SDK and API level while developing an android application 如何在 Visual Studio 2017 上为 Xamarin.Android 安装 Android SDK 和 Java 开发工具包 - How to install Android SDK and Java Development Kit for Xamarin.Android on Visual Studio 2017 在android sdk管理器中找不到Glass Development Kit - not found Glass Development Kit at android Sdk manager 我如何在 android 开发中使用 OpenCv/机器学习概念,我想在 android 应用程序中使用一些基于机器学习的想法 - How can i use OpenCv/Machine learning concepts in android development, i want to use few machine learning based ideas in an android app Android Studio:列出需要SDK级别高于项目最低级别的所有调用 - Android Studio: List all calls which requires SDK level above the project minimum level Android Studio无法识别最低SDK - Minimum SDK is not recognized in Android studio Android Qt应用程序开发的工具包选择 - Kit Selection for android Qt application development 什么是 Android 原生开发套件 (NDK)? - What is the Android Native Development Kit (NDK)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM