HPI-Information-Systems / art-ner-dataset

Data and code from the paper "Generation of Training Data for Named Entity Recognition of Artworks"
1 stars 0 forks source link

Error using spacy model #1

Open dersuchendee opened 1 year ago

dersuchendee commented 1 year ago

I get this error:

else:
    690         if not config_path or not config_path.is_file():
--> 691             raise IOError(Errors.E053.format(path=config_path, name="config file"))
    692         return config.from_disk(
    693             config_path, overrides=overrides, interpolate=interpolate

OSError: [E053] Could not read config file from /content/drive/MyDrive/spacy_model/config.cfg

Is there a file missing?

alejosierra commented 1 year ago

Hi I was taking a look and seems to be related with the path of the downloaded spacy model. I tested the script with the spacy_model extracted folder and it worked for me: python run_spacy.py <Downloaded_Models_Folder>/Spacy/spacy_model/ ./example_file.csv Can you please check that in the downloaded spacy folder you have the following files/folders? image