Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the end2end module #117

Open
uncleunclelu opened this issue Aug 11, 2022 · 0 comments
Open

Error in the end2end module #117

uncleunclelu opened this issue Aug 11, 2022 · 0 comments

Comments

@uncleunclelu
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant