chexpert-labeler icon indicating copy to clipboard operation
chexpert-labeler copied to clipboard

Error - ValueError: Parser model has not been loaded.

Open njan-creative opened this issue 2 years ago • 7 comments

I am getting the below error, when running the label.py

  File "/home/user/anaconda3/envs/chexpert-label/lib/python3.6/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.

I have already downloaded the stanford-core-nlp jar and the bz2 file for the below.

from bllipparser import RerankingParser
RerankingParser.fetch_and_load('GENIA+PubMed')

njan-creative avatar Dec 18 '22 07:12 njan-creative