java.lang.NullPointerException in LearningCurveMultiDataset
agusgun opened this issue · 4 comments
Here is the exception stack trace:
java.lang.NullPointerException at edu.illinois.cs.cogcomp.ner.LbjTagger.LearningCurveMultiDataset.getLearningCurve(LearningCurveMultiDataset.java:167) at edu.illinois.cs.cogcomp.ner.LbjTagger.LearningCurveMultiDataset.getLearningCurve(LearningCurveMultiDataset.java:81) at edu.illinois.cs.cogcomp.ner.NerTagger.main(NerTagger.java:41)
I think this exception occured because simpleTest.getOverallStats()[2] in line 157
have NaN value
How do you run the code?
FYI @cowchipkid
I just run train command using the default data. The train command is same with the train command in README.
This is the command:
java -Xmx8g -cp target/classes:target/dependency/* edu.illinois.cs.cogcomp.ner.NerTagger -train test/Test/0224.txt test/Test/0228.txt config/ner.properties
Oke, I will close the issue