Traceback (most recent call last):
File "scripts/pipeline/interactive.py", line 117, in
code.interact(banner=banner, local=locals())
File "/usr/lib/python3.6/code.py", line 302, in interact
console.interact(banner, exitmsg)
File "/usr/lib/python3.6/code.py", line 228, in interact
line = self.raw_input(prompt)
File "/usr/lib/python3.6/code.py", line 275, in raw_input
return input(prompt)
OSError: [Errno 9] Bad file descriptor
how to solve the “OSError: [Errno 9] Bad file descriptor ” ??
when i was run “python scripts/pipeline/interactive.py”
04/26/2021 09:38:10 PM: [ CUDA enabled (GPU -1) ] 04/26/2021 09:38:10 PM: [ Initializing pipeline... ] 04/26/2021 09:38:10 PM: [ Initializing document ranker... ] 04/26/2021 09:38:10 PM: [ Loading /home/mist/zxl/DrQA-master/scripts/pipeline/DrQA/data/wikipedia/docs-tfidf-ngram=2-hash=16777216-tokenizer=simple.npz ] 04/26/2021 09:38:41 PM: [ Initializing document reader... ] 04/26/2021 09:38:41 PM: [ Loading model /home/mist/zxl/DrQA-master/scripts/pipeline/DrQA/data/reader/multitask.mdl ] 04/26/2021 09:49:49 PM: [ Initializing tokenizers and document retrievers... ]
Interactive DrQA
how to solve the “OSError: [Errno 9] Bad file descriptor ” ??