diff --git a/Android/global_config.gradle b/Android/global_config.gradle index 8de1960..12f1fc8 100644 --- a/Android/global_config.gradle +++ b/Android/global_config.gradle @@ -25,7 +25,6 @@ ext { aoe_target_sdk_version = 26 aoe_version_code = 3 - aoe_version_name = aoe_major_version + '.' + aoe_suffix_version kotlin_version = '1.3.61' @@ -41,10 +40,10 @@ ext { ], // 第三方推理框架的适配,版本以对应框架版本命名同步,最后加一位小版本号,如TensorFlow 版本2.0.0,AoE 对应的适配版本为2.0.0.x runtime : [ - tensorflow: isDebug() ? project(':runtime-tensorflow-lite') : "com.didi.aoe:runtime-tensorflow-lite:2.0.0.$aoe_suffix_version", - pytorch : isDebug() ? project(':runtime-pytorch') : "com.didi.aoe:runtime-pytorch:1.3.1.$aoe_suffix_version", - ncnn : isDebug() ? project(':runtime-ncnn') : "com.didi.aoe:runtime-ncnn:20191113.$aoe_suffix_version", - mnn : isDebug() ? project(':runtime-mnn') : "com.didi.aoe:runtime-mnn:0.2.1.5.$aoe_suffix_version", + tensorflow: isDebug() ? project(':runtime-tensorflow-lite') : "com.didi.aoe:runtime-tensorflow-lite:$aoe_version_name", + pytorch : isDebug() ? project(':runtime-pytorch') : "com.didi.aoe:runtime-pytorch:$aoe_version_name", + ncnn : isDebug() ? project(':runtime-ncnn') : "com.didi.aoe:runtime-ncnn:$aoe_version_name", + mnn : isDebug() ? project(':runtime-mnn') : "com.didi.aoe:runtime-mnn:$aoe_version_name", ], // 拓展插件的版本跟随 aoe 当前版本,不随框架同步更新 extensions: [ diff --git a/Android/third_party/mnn/build.gradle b/Android/third_party/mnn/build.gradle index 25eb3e3..da98b28 100644 --- a/Android/third_party/mnn/build.gradle +++ b/Android/third_party/mnn/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.android.library' ext { releaseArtifact = 'runtime-mnn' releaseDescription = 'The AoE MNN runtime library' - releaseVersion = '0.2.1.5.' + aoe_suffix_version + releaseVersion = aoe_version_name } apply from: rootProject.file('gradle/release.gradle') diff --git a/Android/third_party/ncnn/build.gradle b/Android/third_party/ncnn/build.gradle index 29c5f88..89c5dba 100644 --- a/Android/third_party/ncnn/build.gradle +++ b/Android/third_party/ncnn/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'kotlin-android' ext { releaseArtifact = 'runtime-ncnn' releaseDescription = 'The AoE NCNN runtime library' - releaseVersion = '20191113.' + aoe_suffix_version + releaseVersion = aoe_version_name } apply from: rootProject.file('gradle/release.gradle') diff --git a/Android/third_party/pytorch/build.gradle b/Android/third_party/pytorch/build.gradle index dc73b06..edd29a9 100644 --- a/Android/third_party/pytorch/build.gradle +++ b/Android/third_party/pytorch/build.gradle @@ -20,7 +20,7 @@ apply plugin: 'kotlin-android' ext { releaseArtifact = 'runtime-pytorch' releaseDescription = 'The AoE PyTorch runtime library' - releaseVersion = '1.3.1.' + aoe_suffix_version + releaseVersion = aoe_version_name } apply from: rootProject.file('gradle/release.gradle') diff --git a/Android/third_party/tensorflow-lite/build.gradle b/Android/third_party/tensorflow-lite/build.gradle index 7b51c21..8973861 100644 --- a/Android/third_party/tensorflow-lite/build.gradle +++ b/Android/third_party/tensorflow-lite/build.gradle @@ -5,7 +5,7 @@ apply plugin: 'kotlin-android' ext { releaseArtifact = 'runtime-tensorflow-lite' releaseDescription = 'The AoE tensorflow lite runtime library' - releaseVersion = '2.0.0.' + aoe_suffix_version + releaseVersion = aoe_version_name } apply from: rootProject.file('gradle/release.gradle') diff --git a/Android/version.gradle b/Android/version.gradle index 126fa18..5933bd2 100644 --- a/Android/version.gradle +++ b/Android/version.gradle @@ -16,6 +16,5 @@ ext { - aoe_major_version = '1.1.1' - aoe_suffix_version = 9 + aoe_version_name = '1.1.2' } \ No newline at end of file diff --git a/README.md b/README.md index ecb8855..627b9c3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
AoE 版本 | +推理框架 | +依赖信息 | +推理框架版本 | +
---|---|---|---|
1.1.2 | +TensorFlow Lite | +
+ [ Android ] com.didi.aoe.runtime-tensorflow-lite:1.1.2 + [ iOS ] pod 'AoERuntime/TensorFlowLite','~> 1.1.2', + |
+ 2.0.0 | +
PyTorch | ++ [ Android ] com.didi.aoe.runtime-pytorch:1.1.2 + + | 1.3.1 | +|
MNN | +
+ [ Android ] com.didi.aoe.runtime-mnn:1.1.2 + [ iOS ] pod 'AoERuntime/MNN','~> 1.1.2', + |
+ 0.2.1.5 | +|
NCNN | +
+ [ Android ] com.didi.aoe.runtime-ncnn:1.1.2 + [ iOS ] pod 'AoERuntime/NCNN','~> 1.1.2', + [ linux ] runtime-ncnn:1.1.2 + |
+ 20191113 | +