You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to run the chexpert labeler on some reports. I'm first working out how to even get it going, so I'm using the sample_reports.csv file. Upon running label.py, the program quickly fails with the following error:
File "/Users/xxx/opt/miniconda3/envs/chexpert-label/lib/python3.6/site-packages/StanfordDependencies/JPypeBackend.py", line 44, in init
self.corenlp = jpype.JPackage('edu').stanford.nlp
AttributeError: Java package 'edu' is not valid
I've tried importing the edu.stanford.nlp package at the top of the file, using jpype.JClass(...), and a couple other things but this inevitably breaks something else further down the line. Any guidance or suggestions in resolving this problem and getting the labeler up and running is much appreciated!
The text was updated successfully, but these errors were encountered:
Hello, I am trying to run the chexpert labeler on some reports. I'm first working out how to even get it going, so I'm using the sample_reports.csv file. Upon running label.py, the program quickly fails with the following error:
File "/Users/xxx/opt/miniconda3/envs/chexpert-label/lib/python3.6/site-packages/StanfordDependencies/JPypeBackend.py", line 44, in init self.corenlp = jpype.JPackage('edu').stanford.nlp AttributeError: Java package 'edu' is not valid
I've tried importing the edu.stanford.nlp package at the top of the file, using jpype.JClass(...), and a couple other things but this inevitably breaks something else further down the line. Any guidance or suggestions in resolving this problem and getting the labeler up and running is much appreciated!
I haven't seen this error before. I would guess it's an issue with package versions - may be worth trying a dockerized runtime instead, see this PR for more details: #32
Hello, I am trying to run the chexpert labeler on some reports. I'm first working out how to even get it going, so I'm using the sample_reports.csv file. Upon running label.py, the program quickly fails with the following error:
File "/Users/xxx/opt/miniconda3/envs/chexpert-label/lib/python3.6/site-packages/StanfordDependencies/JPypeBackend.py", line 44, in init
self.corenlp = jpype.JPackage('edu').stanford.nlp
AttributeError: Java package 'edu' is not valid
I've tried importing the edu.stanford.nlp package at the top of the file, using jpype.JClass(...), and a couple other things but this inevitably breaks something else further down the line. Any guidance or suggestions in resolving this problem and getting the labeler up and running is much appreciated!
The text was updated successfully, but these errors were encountered: