Comments (7)
Sorry that you're having trouble. Can you please share the output of this:
RerankingParser.fetch_and_load('GENIA+PubMed', verbose=True)
from chexpert-labeler.
Please find the output below.
Model directory: /home/user/.local/share/bllipparser/GENIA+PubMed
Model directory already exists, not reinstalling
RerankingParser(unified_model_dir='/home/user/.local/share/bllipparser/GENIA+PubMed')
from chexpert-labeler.
Could you share the entire output (with the full traceback)?
from chexpert-labeler.
Traceback (most recent call last): File "label.py", line 53, in <module> label(parser.parse_args()) File "label.py", line 44, in label classifier.classify(loader.collection) File "/DATA/njan/medical/chexpert/chexpert-labeler/stages/classify.py", line 100, in classify self.parser.parse_doc(document) File "/home/user/.local/lib/python3.7/site-packages/negbio/pipeline/parse.py", line 55, in parse_doc tree = self.parse(text) File "/home/user/.local/lib/python3.7/site-packages/negbio/pipeline/parse.py", line 34, in parse nbest = self.rrp.parse(str(s)) File "/home/njan/anaconda3/envs/negbio3.7/lib/python3.7/site-packages/bllipparser/RerankingParser.py", line 614, in parse rerank = self.check_models_loaded_or_error(rerank) File "/home/njan/anaconda3/envs/negbio3.7/lib/python3.7/site-packages/bllipparser/RerankingParser.py", line 786, in check_models_loaded_or_error raise ValueError("Parser model has not been loaded.") ValueError: Parser model has not been loaded.
from chexpert-labeler.
Traceback (most recent call last):
File "label.py", line 53, in
label(parser.parse_args())
File "label.py", line 44, in label
classifier.classify(loader.collection)
File "/DATA/njan/medical/chexpert/chexpert-labeler/stages/classify.py", line 100, in classify
self.parser.parse_doc(document)
File "/home/user/.local/lib/python3.7/site-packages/negbio/pipeline/parse.py", line 55, in parse_doc
tree = self.parse(text)
File "/home/user/.local/lib/python3.7/site-packages/negbio/pipeline/parse.py", line 34, in parse
nbest = self.rrp.parse(str(s))
File "/home/njan/anaconda3/envs/negbio3.7/lib/python3.7/site-packages/bllipparser/RerankingParser.py", line 614, in parse
rerank = self.check_models_loaded_or_error(rerank)
File "/home/njan/anaconda3/envs/negbio3.7/lib/python3.7/site-packages/bllipparser/RerankingParser.py", line 786, in check_models_loaded_or_error
raise ValueError("Parser model has not been loaded.")
ValueError: Parser model has not been loaded.
from chexpert-labeler.
Perhaps try uninstalling and reinstalling the parser?
The error being thrown is here, so you could try to debug by looking through that file (specifically starting with this method).
from chexpert-labeler.
Related Issues (20)
- How to mine more labels HOT 3
- Results HOT 4
- Issue while installing HOT 1
- How to run the labeler on GPU. HOT 3
- Chexpert reports HOT 1
- Running multiple chexpert labelers in parallel HOT 2
- Unable to run Labeler - invalid package HOT 1
- Out of memory HOT 2
- Running CheXpert labeler on Google Colab? HOT 4
- Error encountered on MIMIC:TypeError: 'NoneType' object is not iterable HOT 2
- Error, can not found previous push version HOT 1
- Have stanford-corenlp-3.5.2.jar pre-downloaded in docker image HOT 4
- blank label HOT 1
- Inexplicable negation mistake
- run label.py ModuleNotFoundError: No module named '_JohnsonReranker' HOT 1
- ERROR:Cannot process sentence 0 in 0 HOT 4
- ERROR::root:Cannot process sentence 39 in 0 HOT 2
- About Term Definition and Consistency
- Image labeler
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chexpert-labeler.