illinois-ml-nlp-users AT lists.siebelschool.illinois.edu
Subject: Support for users of CCG software closed 7-27-20
List archive
- From: Bahareh Sarrafzadeh <bsarrafz AT uwaterloo.ca>
- To: illinois-ml-nlp-users AT cs.uiuc.edu
- Subject: [Illinois-ml-nlp-users] Wikifer 2013 - using the Inference
- Date: Tue, 16 Jun 2015 09:44:38 -0400
- List-archive: <http://lists.cs.uiuc.edu/pipermail/illinois-ml-nlp-users/>
- List-id: Support for users of CCG software <illinois-ml-nlp-users.cs.uiuc.edu>
Hi Mark,
I downloaded the recent version of Wikifier and ran the runSimpleTest.sh and it all worked fine.
Then I tested the version with the Standalone_Gurobi config file and it crashed with the following error:
"java.lang.Exception: The length of the scaling vector is larger than the size of the feature vector"
(The full error log follows).
I haven't installed Gurobi. But it didn't pick on me for that!
Can you let me know what may be wrong?
Best,
Bahar
Done constructing the Wikifiable entities
---- almost there....
2155859 milliseconds elapsed on constructing potentially wikifiable entitites in the input tex t...3
Done constructing the problem; running the inference
Inference on the document -- 3
37 milliseconds elapsed extracting features for the level: FeatureExtractorTitlesMatch
141 milliseconds elapsed ranking the candidates at level...FeatureExtractorTitlesMatch
35804 milliseconds elapsed extracting features for the level: FeatureExtractorLexical
69 milliseconds elapsed ranking the candidates at level...FeatureExtractorLexical
467188 milliseconds elapsed extracting features for the level: FeatureExtractorCoherence
[FATAL][edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine] - Exception caught at rera nking level edu.illinois.cs.cogcomp.wikifier.inference.features.FeatureExtractorCoherence
[FATAL][edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine] - The current feature vect or is: [0.0, 4.0, 0.28205128205128205, 0.005795574288724974, 1.9365981958167057E-5, 0.13718018 376591767, 0.036890067350448544, 0.0, 0.0, 0.02214048413502748, 0.0, 0.015038869829097414, 0.0 , 0.044028379381354586, 0.014051260459177133, 0.053798687880868785, 0.01175584783948602]
[FATAL][edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine] - vs.: [0.0, 4.0, 0.282051 28205128205, 0.005795574288724974, 1.9365981958167057E-5, 0.13718018376591767, 0.0368900673504 48544, 0.0, 0.0, 0.02214048413502748, 0.0, 0.015038869829097414, 0.0, 0.044028379381354586, 0. 014051260459177133, 0.053798687880868785, 0.01175584783948602]
[FATAL][edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine] - There are 35 elements in the scaling vector, which is:
[FATAL][edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine] - [1.0, 19.0, 0.9999881035 939043, 0.9999374217772214, 0.10956304292833013, 0.9047058067824247, 0.8508227620778498, 0.898 6462067054866, 1.0, 0.8178982397293528, 0.9950340699370112, 0.7176906886619077, 0.932514312008 749, 0.7693090635757256, 0.8890609104957108, 0.7810288553668717, 0.8559695406363307, 52.295036 49647119, 0.7427582132328808, 26.05927592188196, 0.7867182456523216, 1.0, 31.352459016393443, 0.795582821550362, 14.51719576719576, 0.7867182456523216, 500.0, 0.9961916597435507, 333.24614 0651801, 0.9925098908244472, 1.0, 246.4769647696477, 0.9961916597435507, 161.05169340463456, 0 .9950501999240919]
java.lang.Exception: The length of the scaling vector is larger than the size of the feature v ector
at edu.illinois.cs.cogcomp.wikifier.inference.LiblinearInterface.trimAndScale(Liblinea rInterface.java:60)
at edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine.rankCandidates(Inference Engine.java:335)
at edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine.rankProblem(InferenceEng ine.java:155)
at edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine.annotate(InferenceEngine .java:108)
at edu.illinois.cs.cogcomp.wikifier.ReferenceAssistant.main(ReferenceAssistant.java:89 )
java.lang.Exception: The length of the scaling vector is larger than the size of the feature v ector
at edu.illinois.cs.cogcomp.wikifier.inference.LiblinearInterface.trimAndScale(Liblinea rInterface.java:60)
at edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine.rankCandidates(Inference Engine.java:335)
at edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine.rankProblem(InferenceEng ine.java:155)
at edu.illinois.cs.cogcomp.wikifier.inference.InferenceEngine.annotate(InferenceEngine .java:108)
at edu.illinois.cs.cogcomp.wikifier.ReferenceAssistant.main(ReferenceAssistant.java:89 )
- [Illinois-ml-nlp-users] Wikifer 2013 - using the Inference, Bahareh Sarrafzadeh, 06/16/2015
Archive powered by MHonArc 2.6.16.