You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
FileNotFoundError Traceback (most recent call last) in <cell line: 5>()
3 nmax = 50000 # maximum number of word embeddings to load
4
----> 5 src_embeddings, src_id2word, src_word2id = load_vec(src_path, nmax)
6 tgt_embeddings, tgt_id2word, tgt_word2id = load_vec(tgt_path, nmax)
in load_vec(emb_path, nmax)
2 vectors = []
3 word2id = {}
----> 4 with io.open(emb_path, 'r', encoding='utf-8', newline='\n', errors='ignore') as f:
5 next(f)
6 for i, line in enumerate(f):
FileNotFoundError: [Errno 2] No such file or directory: '/private/home/aconneau/projects/MUSE/dumped/debug/8gqhcyvoto/vectors-en.txt'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/facebookresearch/MUSE/blob/main/demo.ipynb
src_path = '/private/home/aconneau/projects/MUSE/dumped/debug/8gqhcyvoto/vectors-en.txt'
tgt_path = '/private/home/aconneau/projects/MUSE/dumped/debug/8gqhcyvoto/vectors-es.txt'
FileNotFoundError Traceback (most recent call last)
in <cell line: 5>()
3 nmax = 50000 # maximum number of word embeddings to load
4
----> 5 src_embeddings, src_id2word, src_word2id = load_vec(src_path, nmax)
6 tgt_embeddings, tgt_id2word, tgt_word2id = load_vec(tgt_path, nmax)
in load_vec(emb_path, nmax)
2 vectors = []
3 word2id = {}
----> 4 with io.open(emb_path, 'r', encoding='utf-8', newline='\n', errors='ignore') as f:
5 next(f)
6 for i, line in enumerate(f):
FileNotFoundError: [Errno 2] No such file or directory: '/private/home/aconneau/projects/MUSE/dumped/debug/8gqhcyvoto/vectors-en.txt'
The text was updated successfully, but these errors were encountered: