提交 b74e1d15 编写于 作者: S smallv0221

minor fix

上级 1abeaf5b
......@@ -204,7 +204,6 @@ class BLEU(paddle.metric.Metric):
if _score == 0:
_score = sys.float_info.min
prob_list.append(_score)
print(prob_list)
logs = math.fsum(w_i * math.log(p_i)
for w_i, p_i in zip(self.weights, prob_list))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册