xiaojunxu / SQLNet

Neural Network for generating structured queries from natural language.
BSD 3-Clause "New" or "Revised" License
431 stars 162 forks source link

MemoryError #63

Open shambhaviparashar opened 4 years ago

shambhaviparashar commented 4 years ago

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