Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
build.gradle:
apply plugin: 'com.android.library'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
minSdkVersion 23
targetSdkVersion 29
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/INDEX.LIST'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
// androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
// exclude group: 'com.android.support', module: 'support-annotations'
//
// })
implementation group: 'org.nd4j', name: 'nd4j-native', version: dl4jVersion
implementation group: 'org.nd4j', name: 'nd4j-native', version: dl4jVersion, classifier: "android-arm"
implementation group: 'org.nd4j', name: 'nd4j-native', version: dl4jVersion, classifier: "android-arm64"
implementation group: 'org.nd4j', name: 'nd4j-native', version: dl4jVersion, classifier: "android-x86"
implementation group: 'org.nd4j', name: 'nd4j-native', version: dl4jVersion, classifier: "android-x86_64"
compile(group: 'org.deeplearning4j', name: 'deeplearning4j-core', version: dl4jVersion) {
exclude group: 'org.bytedeco.javacpp-presets', module: 'opencv-platform'
exclude group: 'org.bytedeco.javacpp-presets', module: 'leptonica-platform'
exclude group: 'org.bytedeco.javacpp-presets', module: 'hdf5-platform'
exclude group: 'org.nd4j', module: 'nd4j-base64'
exclude group: 'com.android.support', module: 'support-annotations'
}
// compile group: 'org.bytedeco.javacpp-presets', name: 'openblas', version: '0.3.3-1.4.3'
// compile group: 'org.bytedeco.javacpp-presets', name: 'openblas', version: '0.3.3-1.4.3', classifier: "android-arm"
// compile group: 'org.bytedeco.javacpp-presets', name: 'openblas', version: '0.3.3-1.4.3', classifier: "android-arm64"
// compile group: 'org.bytedeco.javacpp-presets', name: 'openblas', version: '0.3.3-1.4.3', classifier: "android-x86"
// compile group: 'org.bytedeco.javacpp-presets', name: 'openblas', version: '0.3.3-1.4.3', classifier: "android-x86_64"
// compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.4.3-1.4.3'
// compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.4.3-1.4.3', classifier: "android-arm"
// compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.4.3-1.4.3', classifier: "android-arm64"
// compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.4.3-1.4.3', classifier: "android-x86"
// compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version: '3.4.3-1.4.3', classifier: "android-x86_64"
compile group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5'
compile group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5', classifier: "android-arm"
compile group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5', classifier: "android-arm64"
compile group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5', classifier: "android-x86"
compile group: 'org.bytedeco', name: 'openblas', version: '0.3.5-1.5', classifier: "android-x86_64"
compile group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5'
compile group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5', classifier: "android-arm"
compile group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5', classifier: "android-arm64"
compile group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5', classifier: "android-x86"
compile group: 'org.bytedeco', name: 'opencv', version: '4.0.1-1.5', classifier: "android-x86_64"
compile group: 'org.bytedeco', name: 'javacv', version: '1.5'
compile group: 'org.bytedeco.javacpp-presets', name: 'leptonica', version: '1.76.0-1.4.3'
compile group: 'org.bytedeco.javacpp-presets', name: 'leptonica', version: '1.76.0-1.4.3', classifier: "android-arm"
compile group: 'org.bytedeco.javacpp-presets', name: 'leptonica', version: '1.76.0-1.4.3', classifier: "android-arm64"
compile group: 'org.bytedeco.javacpp-presets', name: 'leptonica', version: '1.76.0-1.4.3', classifier: "android-x86"
compile group: 'org.bytedeco.javacpp-presets', name: 'leptonica', version: '1.76.0-1.4.3', classifier: "android-x86_64"
compileOnly 'org.projectlombok:lombok:1.16.16'
annotationProcessor 'org.projectlombok:lombok:1.16.16'
//This corrects for a junit version conflict.
configurations.all {
resolutionStrategy.force 'junit:junit:4.12'
}
}
*****************************************************************************************************************************************
Error Trace:
*****************************************************************************************************************************************
/mnt/android/ide/android-studio/jre/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/mnt/android/ide/android-studio/lib/idea_rt.jar=41559:/mnt/android/ide/android-studio/bin -Dfile.encoding=UTF-8 -classpath /mnt/android/ide/android-studio/lib/idea_rt.jar:/mnt/android/ide/android-studio/plugins/junit/lib/junit-rt.jar:/mnt/android/ide/android-studio/plugins/junit/lib/junit5-rt.jar:/mnt/android/sdk/platforms/android-29/data/res:/mnt/android/Projects/NVFilter/nvfilter/build/intermediates/javac/debugUnitTest/classes:/mnt/android/Projects/NVFilter/nvfilter/build/intermediates/javac/debug/classes:/mnt/android/Projects/NVFilter/nvfilter/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar:/mnt/android/Projects/NVFilter/nvfilter/build/generated/res/resValues/debug:/mnt/android/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-core/1.0.0-beta4/e04edc115bfd00c6b8ed09eca7ee1ddeb32fa852/deeplearning4j-core-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-native/1.0.0-beta4/81decdafdb75fe74c7c5a7e11ea6cc4e4f73cd67/nd4j-native-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-native/1.0.0-beta4/f5a05b323ad4dec46a8d5a20302132aa0f269a51/nd4j-native-1.0.0-beta4-android-arm.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-native/1.0.0-beta4/bf62b9ec62cba9a5a5435ce7292d466432329978/nd4j-native-1.0.0-beta4-android-arm64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-native/1.0.0-beta4/dd814c44ac831f240fc62a711f9f5fe99caa2567/nd4j-native-1.0.0-beta4-android-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-native/1.0.0-beta4/77ff43d4f97dd350fcf3547aff0e3b9a60199022/nd4j-native-1.0.0-beta4-android-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/openblas/0.3.5-1.5/81ac027b44220db23c26ee0aab8cd7343c9df620/openblas-0.3.5-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/openblas/0.3.5-1.5/58f5cb66f9f533539c7dcd4d18b489784de55e9d/openblas-0.3.5-1.5-android-arm.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/openblas/0.3.5-1.5/e77c0ba323a276f3ccf5d1650337a55db2c8df62/openblas-0.3.5-1.5-android-arm64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/openblas/0.3.5-1.5/cb0be0ebc2dcbb8aa90f3af1c9d860ecd0209639/openblas-0.3.5-1.5-android-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/openblas/0.3.5-1.5/5971c52d32ae961a23122d85e049370bcf754379/openblas-0.3.5-1.5-android-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-datasets/1.0.0-beta4/74b5c7c8befb4c07d22f473cc72b5285f8ce66f2/deeplearning4j-datasets-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.datavec/datavec-data-image/1.0.0-beta4/51ff53c0d0dc53f9d188f93f1911c74550e7ded6/datavec-data-image-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/javacv/1.5/f4a4cba80cb84fbe46f06a6f67df49aee6bdcc67/javacv-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/flandmark/1.07-1.5/bdfe1936ebb2ab6f824db4f00f63bbca4d051648/flandmark-1.07-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv-platform/4.0.1-1.5/a7568078628dcdfe3151586b1ec6ee4329c8896d/opencv-platform-4.0.1-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/ed1488f93c062d028740a91867747806ae56ad42/opencv-4.0.1-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/a06aa236a25c542fa4ec78af120ab6b242c89931/opencv-4.0.1-1.5-android-arm.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/b117daf3b5c14ccb4c45915feae1327ab5972d23/opencv-4.0.1-1.5-android-arm64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/16d4a2cc02d0c39416efff53a10c3b5bef7b10d7/opencv-4.0.1-1.5-android-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/2cc7515813c1abafccf2dccb1e76761c94b1236d/opencv-4.0.1-1.5-android-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/b061c3e6553afdc83ed052e74792721b97ef0f2f/opencv-4.0.1-1.5-ios-arm64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/4f711cdf29a7acb56df995dffa467775625c3adc/opencv-4.0.1-1.5-ios-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/66c878b083d789c2a4f16277cb5b2949c812cd37/opencv-4.0.1-1.5-linux-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/8f3091e995346f75bdb47d46425ee1bc8589a2f3/opencv-4.0.1-1.5-linux-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/bce5d9e8b1d7923da573be49868dac5562093197/opencv-4.0.1-1.5-linux-armhf.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/e7c41c07dda482f6bafdcc3933699134d4b0eaad/opencv-4.0.1-1.5-linux-ppc64le.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/f5ba57e5c0999cece8bc7171f639d876abab5ff6/opencv-4.0.1-1.5-macosx-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/f5914c57bf83bec5a8771cffb24d083f552d4a6d/opencv-4.0.1-1.5-windows-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/opencv/4.0.1-1.5/4b15b1ff2099151eef5ce6736dfd64213d1ea59c/opencv-4.0.1-1.5-windows-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco.javacpp-presets/leptonica/1.76.0-1.4.3/5e780f1b89a7158f92baf61e84ef13013a1e13e6/leptonica-1.76.0-1.4.3.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco.javacpp-presets/leptonica/1.76.0-1.4.3/fa0058b196b11595a051386fd23560062c4da74/leptonica-1.76.0-1.4.3-android-arm.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco.javacpp-presets/leptonica/1.76.0-1.4.3/39a3297e4106447cad2dbeb097253792cee810d0/leptonica-1.76.0-1.4.3-android-arm64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco.javacpp-presets/leptonica/1.76.0-1.4.3/b1f6a0026cce59c6343533fa984cef36828be87a/leptonica-1.76.0-1.4.3-android-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco.javacpp-presets/leptonica/1.76.0-1.4.3/95d65e785202b8d7f03266c0554bc6e32988f0d2/leptonica-1.76.0-1.4.3-android-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.projectlombok/lombok/1.16.16/245b50f714bf89ed7659266ace12f9e509d13551/lombok-1.16.16.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-tsne/1.0.0-beta4/be5fac7f3362b5a59ee986077c665689ab9ceaf2/deeplearning4j-tsne-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/nearestneighbor-core/1.0.0-beta4/cd218c319813cee5fc887b95d4ac606e709852ac/nearestneighbor-core-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-datavec-iterators/1.0.0-beta4/cc95850fc50a9a2e8fb01fe952b0515c04751ae1/deeplearning4j-datavec-iterators-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-modelimport/1.0.0-beta4/1c7670e6c3dbda21d545d3a24fe2d29043b5e76c/deeplearning4j-modelimport-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-nn/1.0.0-beta4/89a5499cd968b74db21b41309e611f9d749476a9/deeplearning4j-nn-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.datavec/datavec-api/1.0.0-beta4/e0ad8832dda8dace420eef13aed834d927dd71cc/datavec-api-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-native-api/1.0.0-beta4/3c6ee5f5ffdbd38b0f01773e067a2b92cf30d54b/nd4j-native-api-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-utility-iterators/1.0.0-beta4/a4d01dc98753d86ddc6d4374c2fa5d63c2fc9e83/deeplearning4j-utility-iterators-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-util/1.0.0-beta4/8fa0f944b052d1d1bd7387b4704c73bcdb4373b9/deeplearning4j-util-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-api/1.0.0-beta4/2e39b168e2658e28b11da6ae262364ee523ec56b/nd4j-api-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.jakewharton.byteunits/byteunits/0.9.1/202a0c874feafe7ece9be0a53e9640c9a26f2197/byteunits-0.9.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-ui-components/1.0.0-beta4/563e2097b374bd088f4148b7546eac0814ed8f98/deeplearning4j-ui-components-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.deeplearning4j/deeplearning4j-common/1.0.0-beta4/fe9600e13a5813a8268b527b3bbe5c2c595a61d5/deeplearning4j-common-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-buffer/1.0.0-beta4/a2eb21cedc7d80621a6119e17f5f2c55dafa6688/nd4j-buffer-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-context/1.0.0-beta4/f1b43027129bc2da011e27c5e60aee2209e5971/nd4j-context-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-common/1.0.0-beta4/4ea48fb7fa7b3e3b66e2dc1d4fa5f506a2187194/nd4j-common-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-math3/3.5/13af68e9a11576953f5c4b09436f8207be9d3a27/commons-math3-3.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.google.flatbuffers/flatbuffers-java/1.10.0/d29c00869a12a756cd6569bdf28c75be01f875ac/flatbuffers-java-1.10.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.github.os72/protobuf-java-util-shaded-351/0.9/e4a45ffdf337c6d627bcf2edcb2de2d906bd6ee5/protobuf-java-util-shaded-351-0.9.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.github.os72/protobuf-java-shaded-351/0.9/7601234796af0ca95776ac15cab943f48127df01/protobuf-java-shaded-351-0.9.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/20.0/89507701249388e1ed5ddcf8c41f4ce1be7831ef/guava-20.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.7/751f548c85fa49f330cecbb1875893f971b33c4e/gson-2.7.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/uk.com.robust-it/cloning/1.9.3/543bce6b30867ebccc79956528d4c46f0e491735/cloning-1.9.3.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.16.1/7b5cdabadb4cf12f5ee0f801399e70635583193f/commons-compress-1.16.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.objenesis/objenesis/2.6/639033469776fd37c08358c6b92a4761feb2af4b/objenesis-2.6.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.github.oshi/oshi-core/3.4.2/18dfa6fad54d8cebed5600a67aefa8c6601ebd77/oshi-core-3.4.2.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.24/3f6b4bd4f8dbe8d4bea06d107a3826469b85c3e9/slf4j-api-1.7.24.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/nd4j-jackson/1.0.0-beta4/6593c3bb988ffc310e431198da9ffa99d5e747a3/nd4j-jackson-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.nd4j/jackson/1.0.0-beta4/875f35aab0f8a14bcf390624738afdda50b5169e/jackson-1.0.0-beta4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.12/ebe66a6b88caab31d7a19571ad23656377523545/snakeyaml-1.12.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.codehaus.woodstox/stax2-api/3.1.4/ac19014b1e6a7c08aad07fe114af792676b685b7/stax2-api-3.1.4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/joda-time/joda-time/2.2/a5f29a7acaddea3f4af307e8cf2d0cc82645fd7d/joda-time-2.2.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/commons-net/commons-net/3.1/2298164a7c2484406f2aa5ac85b205d39019896f/commons-net-3.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.5/2852e6e05fbb95076fc091f6d1780f1f8fe35e0f/commons-io-2.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.6/9d28a6b23650e8a7e9063c04588ace6cf7012c17/commons-lang3-3.6.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.10/4b95f4897fa13f2cd904aee711aeafc0c5295cd8/commons-codec-1.10.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/ffmpeg/4.1.3-1.5/f6930fab720179f3c4572b5372beaf5cbbc7a2c4/ffmpeg-4.1.3-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/flycapture/2.13.3.31-1.5/c4d5155af60df313c9bb95fc3487bb25ec0ae7a5/flycapture-2.13.3.31-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/libdc1394/2.2.5-1.5/c9751d49a8fb6ff3bc2e5c08380e07de605bcec9/libdc1394-2.2.5-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/libfreenect/0.5.7-1.5/3da406f0774a1532f5b459cb2ceea3e5bce5abf8/libfreenect-0.5.7-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/libfreenect2/0.2.0-1.5/73c1621663b3e390a63551dfd935b851883cb2dd/libfreenect2-0.2.0-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/librealsense/1.12.1-1.5/1a73202874c6d60d8c6d26e2a5125243d3f9c2b6/librealsense-1.12.1-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/videoinput/0.200-1.5/b4cdc762e26ad41122647d9e3f9c468db7ab83c0/videoinput-0.200-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/artoolkitplus/2.3.1-1.5/b80375c2157422bcb315d5bf245bef1191bbfe74/artoolkitplus-2.3.1-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/tesseract/4.0.0-1.5/fd3c9aaf8f7e446d16070b2f0031ec3a30111ed8/tesseract-4.0.0-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica-platform/1.78.0-1.5/befb66c48d37b62ca4c2165a35cd28132230100f/leptonica-platform-1.78.0-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/8f2d87de6e60355699c265fa5cf40463654a4c29/leptonica-1.78.0-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/3a0611784ee2e5243fdcdd14e2a977ed0d3bb0a6/leptonica-1.78.0-1.5-android-arm.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/7d17b06dee77ef8d8f2a358457dab0927e4718b8/leptonica-1.78.0-1.5-android-arm64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/c58bf067e0f4515281c79380d373b656c40d57c4/leptonica-1.78.0-1.5-android-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/5c70f75bc0d4321082132244b11f30c53e2053ae/leptonica-1.78.0-1.5-android-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/e2567bb1e671cfff9cc4742fd816f1ca5004053e/leptonica-1.78.0-1.5-linux-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/54c656f91b206e0935aa4e39dae93578fabd1d05/leptonica-1.78.0-1.5-linux-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/84f6f2e81ee3163c12e5475ca6001a9a4cbc87fe/leptonica-1.78.0-1.5-linux-armhf.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/762028565eea376c13b9914289cac158f4169d33/leptonica-1.78.0-1.5-linux-ppc64le.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/4be090322aa2e98701561f10aac15bac7a9f64fb/leptonica-1.78.0-1.5-macosx-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/bed5ed3a657bbbd8ccd1e1a63ad64d7832fdf7a4/leptonica-1.78.0-1.5-windows-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/leptonica/1.78.0-1.5/c691134290ec86bf6de7b018aa565e72208a940/leptonica-1.78.0-1.5-windows-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/mkl/2019.3-1.5/4db467dce1859361dd639ec1a5c0d62b2eb696af/mkl-2019.3-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/mkl-dnn/0.18.1-1.5/31bb642f8de0d5a3229510d8d4938c3650b52547/mkl-dnn-0.18.1-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/hdf5-platform/1.10.5-1.5/1a9ac5d1b77870c89fb6ffe74f8b5a7f641d8afb/hdf5-platform-1.10.5-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/hdf5/1.10.5-1.5/2fe08ae4a2f20bf03f855b9bfd723a280312c9ef/hdf5-1.10.5-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/hdf5/1.10.5-1.5/aca844873fd7935c19f29186cd740e482d503cc/hdf5-1.10.5-1.5-linux-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/hdf5/1.10.5-1.5/230f963ca920cd92154ce0548f152578268ab086/hdf5-1.10.5-1.5-linux-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/hdf5/1.10.5-1.5/f1b09f262e92b770353a0cd0c5babf609982e3ca/hdf5-1.10.5-1.5-linux-ppc64le.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/hdf5/1.10.5-1.5/8c48f915a96f18498844417a47ccb6971b367c07/hdf5-1.10.5-1.5-macosx-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/hdf5/1.10.5-1.5/6c106ad1030137343fe42e11f5ad7edbf3e91889/hdf5-1.10.5-1.5-windows-x86.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/hdf5/1.10.5-1.5/fc45eaa902731ec7288d39be2ef09835184cd148/hdf5-1.10.5-1.5-windows-x86_64.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.bytedeco/javacpp/1.5/d655e7adf50f000307f982b4238e29dcce54ebc8/javacpp-1.5.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/net.ericaro/neoitertools/1.0.0/25fa0a0aaf12bc386ecdb19a6ee747b361c73a20/neoitertools-1.0.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.lucee/oswego-concurrent/1.3.4/ad572b8223d1cb1ebccdf35428a3077a4209647f/oswego-concurrent-1.3.4.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna-platform/4.3.0/112d185ecfff7a3e6c33a114c566f9bf6f832244/jna-platform-4.3.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.3.0/f11d386a05132f54a51c99085f016e496f345ea3/jna-4.3.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.threeten/threetenbp/1.3.3/3ea31c96676ff12ab56be0b1af6fff61d1a4f1f2/threetenbp-1.3.3.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.clearspring.analytics/stream/2.7.0/9998f8cf87d329fef226405f8d519638cfe1431d/stream-2.7.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/it.unimi.dsi/fastutil/6.5.7/dec71174d0c8a20f355e5af8b59f25eb424c49d3/fastutil-6.5.7.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/org.freemarker/freemarker/2.3.23/cd143cd8c02a9f838e3cb75a6dfe133750437f6d/freemarker-2.3.23.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/net.sf.opencsv/opencsv/2.3/c23708cdb9e80a144db433e23344a788a1fd6599/opencsv-2.3.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.tdunning/t-digest/3.2/2ab94758b0276a8a26102adf8d528cf6d0567b9a/t-digest-3.2.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.github.jai-imageio/jai-imageio-core/1.3.0/268feccd3a0fe32058ede66db41a21d9c7a9e535/jai-imageio-core-1.3.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-jpeg/3.1.1/464d6537504c7855c8aa3669b2726641ee3fd00c/imageio-jpeg-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-tiff/3.1.1/df54331a36fba97907e9413297c51defbe24a224/imageio-tiff-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-psd/3.1.1/8073714c928c9343a9e6dc68b4f48ab9c51a41f0/imageio-psd-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-bmp/3.1.1/3b6f82168a6f76899e33a8a9f4058d0e127df30e/imageio-bmp-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-metadata/3.1.1/52b6b85601492e94fa8a08211c08179b1c888d91/imageio-metadata-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-core/3.1.1/dbdf29da53ac89753d9abfc0f38802f6483821e/imageio-core-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-image/3.1.1/c86b3bc138b0caee17ce4193275636543cf28bfe/common-image-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-io/3.1.1/b6aec796ca2d20b145b6fa88bbe068724a258450/common-io-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-lang/3.1.1/a9b5f8094211a8fbe5e9f469ebb266c1886d3666/common-lang-3.1.1.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/androidx.collection/collection/1.0.0/42858b26cafdaa69b6149f45dfc2894007bc2c7a/collection-1.0.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/androidx.lifecycle/lifecycle-common/2.0.0/e070ffae07452331bc5684734fce6831d531785c/lifecycle-common-2.0.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/androidx.arch.core/core-common/2.0.0/bb21b9a11761451b51624ac428d1f1bb5deeac38/core-common-2.0.0.jar:/mnt/android/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.0.0/45599f2cd5965ac05a1488fa2a5c0cdd7c499ead/annotation-1.0.0.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/f6a183f8595ca34f3d5cc99d1f8bc322/appcompat-1.0.2/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/f6a183f8595ca34f3d5cc99d1f8bc322/appcompat-1.0.2/res:/mnt/android/.gradle/caches/transforms-2/files-2.1/4f37a040d795d0eef135b10b20545e3f/fragment-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/d382ba9b8c9ea9d7b43a9cfaea0ecdf4/vectordrawable-animated-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/abc680e55824c418c024460e31034ed4/legacy-support-core-ui-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/ba2af06f417607d7ef1ca9f201a0d139/legacy-support-core-utils-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/324a702de98e8e0560de88ae82ee3427/vectordrawable-1.0.1/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/331f61861c2d3a925f2252286afb1f53/loader-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/f3997ce16a5c00ae84a772d300d0e1e8/viewpager-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/04087833f388d5ffa97a080d757646c2/coordinatorlayout-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/04087833f388d5ffa97a080d757646c2/coordinatorlayout-1.0.0/res:/mnt/android/.gradle/caches/transforms-2/files-2.1/34085af895daa23049fd0af188e6a001/drawerlayout-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/eb11c4797d5d5b24d5dcbbebe26babf4/slidingpanelayout-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/740a70a0c89c8c085b6e012b4bd7790e/customview-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/31dc29ba3158cee4b1ca2bf2f6ff141b/swiperefreshlayout-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/435f1166e6a428a0025d9cd273cb35a2/asynclayoutinflater-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/72b2b92ec4ab73ff21fb9bc348de3b22/core-1.0.1/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/72b2b92ec4ab73ff21fb9bc348de3b22/core-1.0.1/res:/mnt/android/.gradle/caches/transforms-2/files-2.1/07608d1ce0a2b5e25216bbe877b06158/versionedparcelable-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/aa91d8d2653c363bbd5da9d9892260d3/cursoradapter-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/684c19030ab34291fff8f6b761838da8/lifecycle-runtime-2.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/9d52be8c254a228a91eaf05f51d52923/documentfile-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/9093771a98b01557e81860f4122d7892/localbroadcastmanager-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/7ec682ca46f5c90ea9a9e0cba0c0310a/print-1.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/85b59553d84ac8d04663d7d81848664c/lifecycle-viewmodel-2.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/420f294924962582b4c42c622af43461/lifecycle-livedata-2.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/66e997bde0b6ece28f7fd36f5f4a1584/lifecycle-livedata-core-2.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/8787729f29cf7add1bc29c81caccddfd/core-runtime-2.0.0/jars/classes.jar:/mnt/android/.gradle/caches/transforms-2/files-2.1/d4ef17d609918d2a5f5a86d1ea02678f/interpolator-1.0.0/jars/classes.jar:/mnt/android/Projects/NVFilter/nvfilter/build/intermediates/sourceFolderJavaResources/test/debug:/mnt/android/Projects/NVFilter/nvfilter/build/intermediates/sourceFolderJavaResources/debug:/mnt/android/.gradle/caches/transforms-2/files-2.1/c93827e8d0b5aea84c642579c9596b00/android.jar com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 eu.vg.nvfilter.InstantiateTest,testBasicNetwork
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
java.lang.ExceptionInInitializerError
at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.<init>(NativeOpExecutioner.java:88)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5858)
at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5766)
at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:202)
at org.deeplearning4j.nn.conf.NeuralNetConfiguration$Builder.seed(NeuralNetConfiguration.java:671)
at eu.vg.nvfilter.InstantiateTest.testBasicNetwork(InstantiateTest.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please refer to: http://nd4j.org/getstarted.html
at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:68)
at org.nd4j.nativeblas.NativeOpsHolder.<clinit>(NativeOpsHolder.java:36)
... 33 more
Caused by: java.lang.UnsatisfiedLinkError: no jnind4jcpu in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1336)
at org.bytedeco.javacpp.Loader.load(Loader.java:1077)
at org.bytedeco.javacpp.Loader.load(Loader.java:947)
at org.nd4j.nativeblas.Nd4jCpu.<clinit>(Nd4jCpu.java:10)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.bytedeco.javacpp.Loader.load(Loader.java:1006)
at org.bytedeco.javacpp.Loader.load(Loader.java:947)
at org.nd4j.nativeblas.Nd4jCpu$NativeOps.<clinit>(Nd4jCpu.java:457)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:46)
... 34 more
Caused by: java.lang.UnsatisfiedLinkError: no nd4jcpu in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1336)
at org.bytedeco.javacpp.Loader.load(Loader.java:1033)
... 44 more
Process finished with exit code 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.