我正在尝试使用 Neuroph Framework 和 Eclipse 为 android 创建一个图像识别应用程序,但我不断收到此错误
(使用 2.7 框架版本) 03-26 17:05:20.533: E/AndroidRuntime(3107): FATAL EXCEPTION: dataLoader 03-26 17:05:20.533: E/AndroidRuntime(3107): java.lang.NoClassDefFoundError: org .neuroph.core.NeuralNetwork 03-26 17:05:20.533: E/AndroidRuntime(3107): at com.example.meuprojetoandroid1.MainActivity$1.run(MainActivity.java:49) 03-26 17:05:20.533: E /AndroidRuntime(3107): 在 java.lang.Thread.run(Thread.java:856)
(使用 2.6 框架版本) 03-26 17:05:44.299: E/AndroidRuntime(3478): java.lang.StackOverflowError 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.util.HashMap .get(HashMap.java:298) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectStreamClass.getReflectionField(ObjectStreamClass.java:190) 03-26 17:05:44.299: E /AndroidRuntime(3478): 在 java.io.ObjectInputStream.readFieldValues(ObjectInputStream.java:1091) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java: 455) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.util.ArrayList.readObject(ArrayList.java:649) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.lang.reflect.Method。调用(Method.java:511) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1354) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1266) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851 ) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java .io.ObjectInputStream.readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05 :44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。readFieldValues(ObjectInputStream.java:1137) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:455) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1369) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1266 ) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java .io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999) 03-26 17:05 :44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readFieldValues(ObjectInputStream.java:1137) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:455) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1369 ) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1266) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java .io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05 :44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/ AndroidRuntime(3478): at java.util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.lang.reflect.Method.invoke(Method.java:511) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1354) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1266) 03-26 17: 05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17:05:44.299:E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java :1999) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478):在 java.io.ObjectInputStream.readFieldValues(ObjectInputStream.java:1137) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:455) 03-26 17 :05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1369) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。读取层次结构(ObjectInputStream.java:1266)03-26 17:05:44.299:E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java :787) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/AndroidRuntime(3478):在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readFieldValues(ObjectInputStream.java:1137) 03-26 17 :05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:455) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。 readObjectForClass(ObjectInputStream.java:1369) 03-26 17:05:44.299:E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1266) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java :1851) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478):在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17 :05:44.299: E/AndroidRuntime(3478): 在 java.util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.lang.reflect。 Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java在爪哇在爪哇在 java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1266) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17 :05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。 readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/ AndroidRuntime(3478): at java.util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java在 java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1266) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17 :05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。 readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/ AndroidRuntime(3478): at java.util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 javareadHierarchy(ObjectInputStream.java:1266) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999 ) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java .util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05: 44.299: E/AndroidRuntime(3478): 在 javareadHierarchy(ObjectInputStream.java:1266) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999 ) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java .util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05: 44.299: E/AndroidRuntime(3478): 在 java在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17 :05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。 readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java在 java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1851) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17 :05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.io.ObjectInputStream。 readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 javareadNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.util.ArrayList.readObject(ArrayList.java:657 ) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 javareadNonPrimitiveContent(ObjectInputStream.java:787) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1999) 03-26 17:05:44.299: E/ AndroidRuntime(3478): 在 java.io.ObjectInputStream.readObject(ObjectInputStream.java:1956) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.util.ArrayList.readObject(ArrayList.java:657 ) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.lang.reflect.Method.invokeNative(Native Method) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 javaE/AndroidRuntime(3478): 在 java.util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.lang.reflect.Method.invokeNative(Native方法) 03-26 17:05:44.299: E/AndroidRuntime(3478): at javaE/AndroidRuntime(3478): 在 java.util.ArrayList.readObject(ArrayList.java:657) 03-26 17:05:44.299: E/AndroidRuntime(3478): 在 java.lang.reflect.Method.invokeNative(Native方法) 03-26 17:05:44.299: E/AndroidRuntime(3478): at java
在 2.6 上,它确实适用于示例 http://neuroph.sourceforge.net/tutorials/android_image_recognition_using_neuroph.htm
但是当我使用我的训练器 nnet 时,它给了我这个错误......我尝试训练几个神经网络,但不断收到这个错误......我使用 2.7 和 2.6 Neuroph Studio 来训练网络......
抱歉,如果重复此操作,但我也没有找到与答案相关的任何内容...
谢谢