Skip to content

Simple Eidos in Habitus #115

@maxaalexeeva

Description

@maxaalexeeva

Hi @kwalcock,

I am trying to use SimpleEidos again (like described here #92) and am getting the error pasted below. I see that it wants something related to glove embeddings defined, but don't know where that should happen. One major difference I see between the time we used simple eidos last time and now is the version of processors. I checked, and with procVer=8.4.7 the example() you have in #92 ran through once. Other times. I keep getting a different error (something about stannford nlp util metal class and time expressions).

Do you happen to know what this is about? Thanks!

[info] running org.clulab.habitus.interviews.SimpleEidosInterviewsReader 
[dynet] Loading DyNet from /tmp/libdynet_swig-3619538635534874860.so...
[dynet] random seed: 2522620396
[dynet] allocating memory: 512MB
[dynet] memory allocation done.
Apr 25, 2022 8:38:40 AM de.jollyday.util.ClassLoadingUtil loadClass
WARNING: Could not load class with current threads context classloader. Using default. Reason: ClassNotFoundException: edu.stanford.nlp.time.JollyDayHolidays$MyXMLManager
Apr 25, 2022 8:38:40 AM de.jollyday.util.ClassLoadingUtil loadClass
WARNING: Could not load class with current threads context classloader. Using default. Reason: ClassNotFoundException: de.jollyday.datasource.impl.XmlFileDataSource
Apr 25, 2022 8:38:40 AM de.jollyday.util.XMLUtil unmarshallConfiguration
WARNING: Could not create JAXB context using the current threads context classloader. Falling back to ObjectFactory class classloader.
2022-04-25 08:38:41.313499: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
java.lang.ExceptionInInitializerError
        at org.clulab.processors.fastnlp.FastNLPProcessorWithSemanticRoles.srl(FastNLPProcessorWithSemanticRoles.scala:37)
        at org.clulab.processors.Processor.annotate(Processor.scala:97)
        at org.clulab.processors.Processor.annotate$(Processor.scala:90)
        at org.clulab.processors.shallownlp.ShallowNLPProcessor.annotate(ShallowNLPProcessor.scala:34)
        at org.clulab.wm.eidos.components.ComponentsBuilder.$anonfun$processorsPrimerLoader$2(ComponentsBuilder.scala:85)
        at org.clulab.wm.eidos.components.ComponentLoader.$anonfun$loaded$7(ComponentLoader.scala:46)
        at org.clulab.wm.eidoscommon.utils.Timer$.time(Timer.scala:73)
        at org.clulab.wm.eidos.components.ComponentLoader.$anonfun$loaded$6(ComponentLoader.scala:46)
        at scala.util.Success.$anonfun$map$1(Try.scala:255)
        at scala.util.Success.map(Try.scala:213)
        at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
        at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
        at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
        at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Caused by: java.lang.RuntimeException: ERROR: parameter glove.matrixResourceName must be defined!
        at org.clulab.utils.Configured.getArgString(Configured.scala:34)
        at org.clulab.utils.Configured.getArgString$(Configured.scala:31)
        at org.clulab.utils.ConfigWithDefaults.getArgString(Configured.scala:44)
        at org.clulab.dynet.ConstEmbeddingsGlove$.load(ConstEmbeddingsGlove.scala:99)
        at org.clulab.dynet.ConstEmbeddingsGlove$.load(ConstEmbeddingsGlove.scala:89)
        at org.clulab.dynet.ConstEmbeddingsGlove$.<init>(ConstEmbeddingsGlove.scala:30)
        at org.clulab.dynet.ConstEmbeddingsGlove$.<clinit>(ConstEmbeddingsGlove.scala)
        ... 19 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions