Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Commit 51e53da

Browse files
authored
Merge pull request #97 from melzareix/patch-1
fix: word2vec_utils typo not compiling
2 parents 54c48f5 + 262b92b commit 51e53da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/word2vec_utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
xfrom collections import Counter
1+
from collections import Counter
22
import random
33
import os
44
import sys
@@ -81,4 +81,4 @@ def batch_gen(download_url, expected_byte, vocab_size, batch_size,
8181
target_batch = np.zeros([batch_size, 1])
8282
for index in range(batch_size):
8383
center_batch[index], target_batch[index] = next(single_gen)
84-
yield center_batch, target_batch
84+
yield center_batch, target_batch

0 commit comments

Comments
 (0)