HazyResearch / bootleg

Self-Supervision for Named Entity Disambiguation at the Tail
http://hazyresearch.stanford.edu/bootleg
Apache License 2.0
214 stars 27 forks source link

Error in the end2end module #117

Open uncleunclelu opened 2 years ago

uncleunclelu commented 2 years ago

When I run the end2end module, extract_mentions() needs to load the config.json file in the entity_db folder, but the downloaded entity_db folder does not contain this file.

Traceback (most recent call last): File "D:/pycharm1/bootleg-master/tutorials/end2end.py", line 33, in extract_mentions( File "D:\pycharm1\bootleg-master\bootleg\end2end\extract_mentions.py", line 187, in extract_mentions entity_symbols: EntitySymbols = EntitySymbols.load_from_cache(entity_db_dir) File "D:\pycharm1\bootleg-master\bootleg\symbols\entity_symbols.py", line 263, in load_from_cache config = utils.load_json_file(filename=os.path.join(load_dir, "config.json")) File "D:\pycharm1\bootleg-master\bootleg\utils\utils.py", line 85, in load_json_file with open(filename, "r") as f: FileNotFoundError: [Errno 2] No such file or directory: 'D:\pycharm1\bootleg-master\root_bootleg\data\entity_db\config.json'