stanfordmlgroup / chexpert-labeler

CheXpert NLP tool to extract observations from radiology reports.
MIT License
328 stars 78 forks source link

Error encountered on MIMIC:TypeError: 'NoneType' object is not iterable #39

Open ThatNight opened 1 year ago

ThatNight commented 1 year ago

Hello, I encountered the following error when I tried to use your work for MIMIC data and extract labels.The following error is thrown during the program run, but the program does not stop. I don't know how to solve this error. I am looking forward to your reply.

TypeError: 'NoneType' object is not iterable 1%| | 2871/270791 [24:13<56:52:19, 1.31it/s]ERROR:root:Cannot process sentence 140 in 2871 Traceback (most recent call last): File ".local/lib/python3.6/site-packages/negbio/pipeline/ptb2ud.py", line 130, in convert_doc has_lemmas=self._backend == 'jpype') TypeError: 'NoneType' object is not iterable

llllljm commented 1 year ago

I encountered the same problem as you. Have you solved it?I would appreciate it if you could tell me how to solve this problem.