提交 9ba26fac 编写于 作者: C chenfeiyu

deep coice 3: use np.int64 explicitly

上级 31dbc871
......@@ -121,7 +121,7 @@ class Evaluator(object):
en.text_to_sequence(
text, p=self.p_replace), dtype=np.int64)
length = len(text)
text_positions = np.arange(1, 1 + length)
text_positions = np.arange(1, 1 + length, dtype=np.int64)
text = np.expand_dims(text, 0)
text_positions = np.expand_dims(text_positions, 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册