-
Notifications
You must be signed in to change notification settings - Fork 142
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
Pipeline SRL Verb Fails Weirdly #656
Comments
You didn't say what's the content of |
It doesn't matter what I put in pipeline-config.properties. I first used the default pipeline-config.properties, which is all true, and then also the following pipeline-config.properties:
|
FYI, when I use curator to add verb SRL for the same sentence, I also got an error:
But curator can sometimes successfully process other sentences (e.g., "I like you." succeeds, but "He likes you." fails). Don't know yet when curator fails or succeeds. |
Try dropping the config file: PipelineFactory.buildPipeline(); |
The above gives me only TOKENS and SENTENCE views. I'm trying this: |
|
It keeps asking me for new views. Then I got this error: I have been using |
I ran into similar problems a month ago. I think the VerbSRL also depends on Here are the required views for |
@schen149 Exactly. You see I'm already using However, do you know why I'm receiving |
20g is not enough, unfortunately. You probably need around 25g. |
FYI, the curator failed because of this error: |
28g is still not enough... |
Hi, Qiang.
At such times you can look at the server-monitor page for Curator:
https://cogcomp.org/cgi-secure/private/connect_to_server_monitor.pl?smPort=8001
In this case, the chunker component was offline. I've restarted it -- maybe you can try again.
Mark
…________________________________
From: Qiang (John) Ning [notifications@github.com]
Sent: Wednesday, May 30, 2018 3:03 PM
To: CogComp/cogcomp-nlp
Cc: Subscribed
Subject: Re: [CogComp/cogcomp-nlp] Pipeline SRL Verb Fails Weirdly (#656)
FYI, the curator failed because of this error: ServiceUnavailableException(reason:chunk unavailable:java.net.ConnectException: Connection refused (Connection refused))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#656 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ANP_nF1BuGR0VPoqjGe5q5I6qRTLRG7bks5t3vr6gaJpZM4UT3B8>.
|
@mssammon You know what, you saved my ass. Thanks very much! It works now. Now I see Does that mean chunker is back? What would I see if chunker was offline? |
processid would be empty, whole line woudl be red |
Thanks. Still, please keep this issue open for a while. Let me try it on server to see if increasing the memory size really solves this problem. |
I have the same problem. Even if I assign lots of memory, it's failing. I haven't managed to get it to start so far. I tried Xmx2M to Xmx64G. I get something like this every time: OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000715300000, 1147142144, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 1147142144 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /home/ben/prototyping/cogcomp-test/hs_err_pid9501.log |
@qiangning , @benman1 are you launching from the command line? if so, are you running on a shared server? what is the memory available on the host server? |
I was running from intellij on my local desktop, which has a 32G memory. |
I'm not sure what mechanism Intellij uses for managing memory, but it is possible that intellij itself has only a limited amount of memory to allocate that puts a ceiling on what you can specify for child processes that it launches. You could try modifying the memory available to Intellij. |
I ran this on bronte, via the command line instead of intellij, and it works. Details are below. The test code I use is this:
The config file is:
The output is:
which looks good to me. The problem happens if I'm not using our servers which often have more than 100G memories. When I created this issue, I was using my local desktop (linux; 32G memory), and it failed with the error message of Now I tried to use my mac (16G memory), and it failed with the error message of I think the conclusion is that memory consumption is so high that computers without a gigantic memory cannot handle it. I monitored the VIRT (virtual memory) while running the program on bronte. I found that the peak value of VIRT is about 36G. I'd suggest a closure for this issue. However, we should
|
I'm trying to use pipeline to process some raw text and output a TextAnnotation with
verb SRL
. This is kind of urgent since I'm deploying my package as an online demo and the demo paper is due on 6/1. Originally I was using curator, but the curator failed frequently (not always). Then I switched to pipeline but my pipeline always fails. Any suggestions to workaround this would be great. @danyaljj @mssammon @HornHehhf All I need isverb SRL
.I checkout the latest version of cogcomp-nlp. Here's the main function I use:
I got this error:
The text was updated successfully, but these errors were encountered: