未验证 提交 9cd7d08b 编写于 作者: C ccmeteorljh 提交者: GitHub

Merge pull request #1947 from frankwhzhang/fix_bug

fix print python3 bug
...@@ -75,8 +75,8 @@ class Word2VecReader(object): ...@@ -75,8 +75,8 @@ class Word2VecReader(object):
self.id_frequencys = [ self.id_frequencys = [
float(count) / word_all_count for count in self.id_counts_ float(count) / word_all_count for count in self.id_counts_
] ]
print("dict_size = " + str( print("dict_size = " + str(self.dict_size) + " word_all_count = " + str(
self.dict_size)) + " word_all_count = " + str(word_all_count) word_all_count))
self.random_generator = NumpyRandomInt(1, self.window_size_ + 1) self.random_generator = NumpyRandomInt(1, self.window_size_ + 1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册