RECON icon indicating copy to clipboard operation
RECON copied to clipboard

File missing -vocab.json and char_v.json

Open SoTWhat opened this issue 5 years ago • 2 comments

Traceback (most recent call last): File "main.py", line 276, in word_vocab, char_vocab, word_embed_matrix = build_vocab(args, entities_context_data, save_vocab, embedding_file) File "main.py", line 187, in build_vocab with open(save_path[0],'r') as f: FileNotFoundError: [Errno 2] No such file or directory: './vocab.json'

please upload the missing file thanks

SoTWhat avatar Jul 28 '21 09:07 SoTWhat

Same for me:(

amiroft avatar Aug 31 '21 12:08 amiroft

Hi, Thanks for trying the code and pointing the issue.

The file is actually created during training and if already created then we set the flag USE_VOCAB to true for reuse. It seems this was set to true by default. I've made it false and pushed the changes. Thanks

ansonb avatar Jan 24 '22 04:01 ansonb