diff --git a/examples/word2vec_utils.py b/examples/word2vec_utils.py index 0666e6f8..8547b916 100644 --- a/examples/word2vec_utils.py +++ b/examples/word2vec_utils.py @@ -1,4 +1,4 @@ -xfrom collections import Counter +from collections import Counter import random import os import sys @@ -81,4 +81,4 @@ def batch_gen(download_url, expected_byte, vocab_size, batch_size, target_batch = np.zeros([batch_size, 1]) for index in range(batch_size): center_batch[index], target_batch[index] = next(single_gen) - yield center_batch, target_batch \ No newline at end of file + yield center_batch, target_batch