无法访问 tensorflow.lite.support.tensorbuffer
Cannot access tensorflow.lite.support.tensorbuffer
我在 Android Studio 中遇到此错误:
"Cannot access class 'org.tensorflow.lite.support.tensorbuffer.TensorBuffer'. Check your module classpath for missing or conflicting dependencies"
有什么问题吗?以及如何修复它?
请在build.gradle中添加以下项目:
dependencies {
...
implementation 'org.tensorflow:tensorflow-lite-support:0.1.0-rc1'
}
添加这个对我有用:
implementation 'org.tensorflow:tensorflow-lite:+'
implementation 'org.tensorflow:tensorflow-lite-gpu:+'
implementation 'org.tensorflow:tensorflow-lite-support:+'
我在 Android Studio 中遇到此错误:
"Cannot access class 'org.tensorflow.lite.support.tensorbuffer.TensorBuffer'. Check your module classpath for missing or conflicting dependencies"
有什么问题吗?以及如何修复它?
请在build.gradle中添加以下项目:
dependencies {
...
implementation 'org.tensorflow:tensorflow-lite-support:0.1.0-rc1'
}
添加这个对我有用:
implementation 'org.tensorflow:tensorflow-lite:+'
implementation 'org.tensorflow:tensorflow-lite-gpu:+'
implementation 'org.tensorflow:tensorflow-lite-support:+'