I'v tried the image recognition HOWTO. Every time I start the training, I get an NullPointer Exception:
java.lang.NullPointerException
at org.neuroph.core.learning.SupervisedLearning.doLearningEpoch(SupervisedLearning.java:144)
at org.neuroph.core.learning.IterativeLearning.learn(IterativeLearning.java:159)
at org.neuroph.core.learning.LearningRule.run(LearningRule.java:102)
[catch] at java.lang.Thread.run(Thread.java:662)
I'm using NeuropStudio 2.6 with JDK 6u23.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-10-24
Please , Have you find a solution to your problem , i have the same too , but i don t know how can i do to resolve it ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
java.io.FileNotFoundException: errorarray.txt (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
at java.io.FileWriter.<init>(FileWriter.java:90)
[catch] at org.neuroph.netbeans.main.easyneurons.errorgraph.GraphFrameTopComponent.observe(GraphFrameTopComponent.java:185)
at org.neuroph.netbeans.main.easyneurons.dialog.SupervisedTrainingDialog.train(SupervisedTrainingDialog.java:324)
at org.neuroph.netbeans.main.easyneurons.dialog.SupervisedTrainingDialog.trainButtonActionPerformed(SupervisedTrainingDialog.java:256)
at org.neuroph.netbeans.main.easyneurons.dialog.SupervisedTrainingDialog.access$000(SupervisedTrainingDialog.java:20)
at org.neuroph.netbeans.main.easyneurons.dialog.SupervisedTrainingDialog$1.actionPerformed(SupervisedTrainingDialog.java:126)
skipping...
OS X 10.8.5
java version "1.7.0_45"
jdk1.7.0_45
Last edit: Vladimir 2013-12-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The issue is that the app is trying to write to file errorarray.txt which is used as file buffer during the training, but it seems that it does not have permisison to write to that file and/or folder where NeurophStudio is installed. Quick fix would be to give writing permissions to all so the app can write to that file. The file should be created automaticaly when the training starts. We'll fix this for next release in the meantime you can do the quick n dirty fix with permissions.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And by the way, make sure you have installed the Neuroph Studio in some directory where you have writing permissions for example user home directory, that may fix the whole issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'v tried the image recognition HOWTO. Every time I start the training, I get an NullPointer Exception:
I'm using NeuropStudio 2.6 with JDK 6u23.
Please , Have you find a solution to your problem , i have the same too , but i don t know how can i do to resolve it ?
Please, I've tried the same HOWTO, with the 2.8 version both on linux and windows and have the same NullPointer error (I'm using java 1.7).
Can someone check this?
The same problem with the 2.8 version:
OS X 10.8.5
java version "1.7.0_45"
jdk1.7.0_45
Last edit: Vladimir 2013-12-10
The issue is that the app is trying to write to file errorarray.txt which is used as file buffer during the training, but it seems that it does not have permisison to write to that file and/or folder where NeurophStudio is installed. Quick fix would be to give writing permissions to all so the app can write to that file. The file should be created automaticaly when the training starts. We'll fix this for next release in the meantime you can do the quick n dirty fix with permissions.
And by the way, make sure you have installed the Neuroph Studio in some directory where you have writing permissions for example user home directory, that may fix the whole issue.