Skip to content
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

requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)) #6

Open
reobroqn opened this issue Sep 9, 2020 · 3 comments

Comments

@reobroqn
Copy link

reobroqn commented Sep 9, 2020

image
Hello, i'm having this issue when trying to segmentation then send every sentence to extract, i don't use --split because i have to reuse those sentences later.
Help!

@tush05tgsingh
Copy link

Hi, I am getting the same error. Any update on this ?

@tush05tgsingh
Copy link

Hi, i got a quick fix. Bascially batch your data and skip the line it is showing the error on. make the process sleep a little and it will restart to give you the results except on the line the error occured.

@PursuitYP
Copy link

In my case, this error is caused by empty lines or sentences with only one letter. You can add some special tokens at the end of the sentence to allow the model to continue processing, such as:
sentence = str(sentence + ' a b. ')
or:
sentence = str(sentence + ' <sentence end>. ')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants