-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
I'm trying to run locally and following the steps described in README, I get this
[21/Jan/2022 11:56:35.780036] id: 7bb79cf620bd0ba345504784f5aaa6ad48394bcd1cf10b7e29964e05
[21/Jan/2022 11:56:36.632464] [7bb79cf620bd0ba345504784f5aaa6ad48394bcd1cf10b7e29964e05] tmVar 2.0 0.8203573226928711 sec
[21/Jan/2022 11:56:38.605409] [7bb79cf620bd0ba345504784f5aaa6ad48394bcd1cf10b7e29964e05] GNormPlus 2.742703914642334 sec
Traceback (most recent call last):
File "/Users/dima/code/BERN2/bern2/bern2.py", line 105, in annotate_text
output = self.tag_entities(text, base_name)
File "/Users/dima/code/BERN2/bern2/bern2.py", line 290, in tag_entities
async_result = loop.run_until_complete(self.async_ner(arguments_for_coroutines))
File "/Users/dima/opt/anaconda3/envs/bern2/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/Users/dima/code/BERN2/bern2/bern2.py", line 417, in async_ner
result = await asyncio.gather(*coroutines)
File "/Users/dima/code/BERN2/bern2/bern2.py", line 459, in _ner_wrap
with open(output_mtner, 'r', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: './multi_ner/output/7bb79cf620bd0ba345504784f5aaa6ad48394bcd1cf10b7e29964e05.PubTator.json'
The only thing I've changed is removing transferring models to cuda, since I don't have GPU on my current machine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels