-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I tried running train.py, and got an error as follows.
Could you please let me know about how to get 'data/models/BMET-ft-5-396-30-5_c.vec' file?
> python train.py
Sep05 10:18 __main__ INFO: [ Reading MeSH tree structure... ]
Sep05 10:18 BMET.utils INFO: [ Reading MeSH descriptors file... ]
Sep05 10:18 root INFO: [ Loading word vectors from data/models/BMET-ft-5-396-30-5_c.vec... ]
Traceback (most recent call last):
File "/***/BERT-CRel-Embeddings/train.py", line 108, in <module>
embs = WvModel(cfg.F_WV_EMBS)
^^^^^^^^^^^^^^^^^^^^^^
File "/***/BERT-CRel-Embeddings/BMET/vocab.py", line 30, in __init__
self.__build_vocab_from_pretrained(emb_path, normalize=normalize_emb)
File "/***/BERT-CRel-Embeddings/BMET/vocab.py", line 43, in __build_vocab_from_pretrained
with open(fpath, encoding='utf-8') as fd:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'data/models/BMET-ft-5-396-30-5_c.vec'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels