提交 339b1351 编写于 作者: R root

fix: fix global name not defined error.

上级 a50b43ce
......@@ -435,6 +435,7 @@ for data in test_data():
return_numpy=False)
result_ids = np.array(results[0])
result_ids_lod = results[0].lod()
result_scores = np.array(results[1])
print("Original sentence:")
......
......@@ -483,6 +483,7 @@ for data in test_data():
return_numpy=False)
result_ids = np.array(results[0])
result_ids_lod = results[0].lod()
result_scores = np.array(results[1])
print("Original sentence:")
......
......@@ -477,6 +477,7 @@ for data in test_data():
return_numpy=False)
result_ids = np.array(results[0])
result_ids_lod = results[0].lod()
result_scores = np.array(results[1])
print("Original sentence:")
......
......@@ -525,6 +525,7 @@ for data in test_data():
return_numpy=False)
result_ids = np.array(results[0])
result_ids_lod = results[0].lod()
result_scores = np.array(results[1])
print("Original sentence:")
......
......@@ -185,6 +185,7 @@ def decode_main(use_cuda):
return_numpy=False)
result_ids = np.array(results[0])
result_ids_lod = results[0].lod()
result_scores = np.array(results[1])
print("Original sentence:")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册