Skip to content

Commit eccbf15

Browse files
authored
Merge pull request #4 from jvogit/jvogit-patch-1
update utils.py
2 parents 4960229 + 47e7ddb commit eccbf15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exercise6/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def getVocabList():
331331
332332
:return:
333333
"""
334-
vocabList = np.genfromtxt(join('Data', 'vocab.txt'), dtype=object)
334+
vocabList = np.genfromtxt(join('Data', 'vocab.txt'), dtype=str)
335335
return list(vocabList[:, 1].astype(str))
336336

337337

0 commit comments

Comments
 (0)