-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spatial Role labeling bug #487
Comments
You might miss some input files here. Please use this version of SpRL if you want to run this model, the information about the dependencies is in the ReadMe. Let me know if you have any problems in running this version: https://github.com/HLR/SpRL_TextOnly. |
Since the data is small, it is all copied in the same repo: |
Thank you for your prompt reply, [1] edu.tulane.cs.hetml.nlp.sprl.TextOnly.PlainTextApp Enter number: 2 [info] Running edu.tulane.cs.hetml.nlp.sprl.TextOnly.SpRLApp |
To my experience, this should be just a problem because you did not set your Environment variables for Gurobi. I don't think the version can make a problem as far as you have set the path to Gurobi correctly. if you are running this using an IDE, please note that you need to set the IDE's Env variables too. |
Hello,
I'm trying to run the Spatial Role labeling with Saul on stb, but I have the error listed below.
I already tested with this manipulation but without success
{Please train/test without SRL feature(actually the results reported are without this feature):
change this to :
val JF2_12 = property(relations) {
x: SpRelation =>""
}
change this to
TextAnnotationFactory.disableSettings(settings, USE_SRL_NOM, USE_NER_ONTONOTES, USE_SRL_VERB)}
Thanks for your help
Error
[error] Exception in thread "main" java.lang.NullPointerException
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLSensors$.getIndicatorCandidates(SpRLSensors.scala:123)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLSensors$.sentencesToRelations(SpRLSensors.scala:32)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLDataModel$$anonfun$1.apply(SpRLDataModel.scala:31)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLDataModel$$anonfun$1.apply(SpRLDataModel.scala:31)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge$$anonfun$populateUsingFrom$1.apply(Edge.scala:79)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge$$anonfun$populateUsingFrom$1.apply(Edge.scala:78)
[error] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.edge.Edge$class.populateUsingFrom(Edge.scala:78)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.edge.AsymmetricEdge.populateUsingFrom(Edge.scala:124)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node$$anonfun$addInstance$2.apply(Node.scala:131)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node$$anonfun$addInstance$2.apply(Node.scala:131)
[error] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node.addInstance(Node.scala:131)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node$$anonfun$populate$1.apply(Node.scala:159)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node$$anonfun$populate$1.apply(Node.scala:159)
[error] at scala.collection.immutable.List.foreach(List.scala:381)
[error] at edu.illinois.cs.cogcomp.saul.datamodel.node.Node.populate(Node.scala:159)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.PopulateSpRLDataModel$.apply(PopulateSpRLDataModel.scala:26)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLApp$.delayedEndpoint$edu$illinois$cs$cogcomp$saulexamples$nlp$SpatialRoleLabeling$SpRLApp$1(SpRLApp.scala:45)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLApp$delayedInit$body.apply(SpRLApp.scala:24)
[error] at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
[error] at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
[error] at scala.App$$anonfun$main$1.apply(App.scala:76)
[error] at scala.App$$anonfun$main$1.apply(App.scala:76)
[error] at scala.collection.immutable.List.foreach(List.scala:381)
[error] at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
[error] at scala.App$class.main(App.scala:76)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLApp$.main(SpRLApp.scala:24)
[error] at edu.illinois.cs.cogcomp.saulexamples.nlp.SpatialRoleLabeling.SpRLApp.main(SpRLApp.scala)
java.lang.RuntimeException: Nonzero exit code returned from runner: 1
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last saulExamples/compile:run for the full output.
[error] (saulExamples/compile:run) Nonzero exit code returned from runner: 1
[error] Total time: 733 s, completed 23 nov. 2018 22:15:47
The text was updated successfully, but these errors were encountered: