bootleg icon indicating copy to clipboard operation
bootleg copied to clipboard

Error in the end2end module

Open uncleunclelu opened this issue 3 years ago • 0 comments

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'

uncleunclelu avatar Aug 11 '22 10:08 uncleunclelu