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

MemoryError #63

Open
shambhaviparashar opened this issue Jun 25, 2020 · 0 comments
Open

MemoryError #63

shambhaviparashar opened this issue Jun 25, 2020 · 0 comments

Comments

@shambhaviparashar
Copy link

shambhaviparashar commented Jun 25, 2020

def load_dataset(dataset_id, use_small=False)

SQLNet>python extract_vocab.py
Loading from original dataset
Loading data from data/train_tok.jsonl
Loading data from data/train_tok.tables.jsonl
Loading data from data/dev_tok.jsonl
Loading data from data/dev_tok.tables.jsonl
Loading data from data/test_tok.jsonl
Loading data from data/test_tok.tables.jsonl
Loading word embedding from glove/glove.42B.300d.txt
Traceback (most recent call last):
File "extract_vocab.py", line 22, in
word_emb = load_word_emb('glove/glove.%dB.%dd.txt'%(B_word,N_word),
File "C:\Users\212807757\SQLNet\sqlnet\utils.py", line 279, in load_word_emb
ret[info[0]] = np.array(map(lambda x:float(x), info[1:]))
MemoryError

def load_dataset(dataset_id, use_small=True)

\SQLNet>python extract_vocab.py
Loading from original dataset
Loading data from data/train_tok.jsonl
Loading data from data/train_tok.tables.jsonl
Loading data from data/dev_tok.jsonl
Loading data from data/dev_tok.tables.jsonl
Loading data from data/test_tok.jsonl
Loading data from data/test_tok.tables.jsonl
Loading word embedding from glove/glove.42B.300d.txt
Traceback (most recent call last):
File "extract_vocab.py", line 22, in
word_emb = load_word_emb('glove/glove.%dB.%dd.txt'%(B_word,N_word),
File "C:\Users\212807757\SQLNet\sqlnet\utils.py", line 277, in load_word_emb
info = line.strip().split(' ')
MemoryError

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