Advise using ONNX Runtime release .aar files instead
This commit is contained in:
Родитель
9260943ab9
Коммит
17514cbc01
|
@ -24,7 +24,7 @@ depthgauger_keystore_key_password=...
|
|||
|
||||
If you're using Windows, remember to escape your slashes in `depthgauger_keystore_path`.
|
||||
|
||||
Add a compiled ONNX Runtime AAR file called `onnxruntime-debug.aar` to the `onnxruntime-debug`
|
||||
Add a compiled ONNX Runtime AAR file called `onnxruntime-release.aar` to the `onnxruntime-release`
|
||||
directory.
|
||||
|
||||
### Choose a framework to test
|
||||
|
|
|
@ -122,7 +122,7 @@ dependencies {
|
|||
implementation 'com.google.guava:guava:30.1.1-android'
|
||||
|
||||
// Frameworks
|
||||
onnxImplementation project(":onnxruntime-debug")
|
||||
onnxImplementation project(":onnxruntime-release")
|
||||
pytorchImplementation 'org.pytorch:pytorch_android:1.8.0'
|
||||
tensorflowImplementation 'org.tensorflow:tensorflow-lite:2.4.0'
|
||||
tensorflowImplementation 'org.tensorflow:tensorflow-lite-gpu:2.4.0'
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
configurations.maybeCreate("default")
|
||||
artifacts.add("default", file("onnxruntime-debug.aar"))
|
|
@ -0,0 +1,2 @@
|
|||
configurations.maybeCreate("default")
|
||||
artifacts.add("default", file("onnxruntime-release.aar"))
|
|
@ -1,4 +1,4 @@
|
|||
include ':onnxruntime-debug'
|
||||
include ':onnxruntime-release'
|
||||
include ':dummyapp'
|
||||
include ':benchmark'
|
||||
rootProject.name = "Inference Test"
|
Загрузка…
Ссылка в новой задаче