评测的时候出现了问题

Traceback (most recent call last):
File "/workspace/src/ChERRANT/parallel_to_m2.py", line 38, in annotate
out, cors = annotator(source_tokenized, target_tokenized, idx)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/src/ChERRANT/modules/annotator.py", line 58, in __call__
align_objs = self.align(src, tgt)
^^^^^^^^^^^^^^^^^^^^
File "/workspace/src/ChERRANT/modules/alignment.py", line 81, in __call__
align_seq = self.get_cheapest_align_seq(oper_matrix)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/src/ChERRANT/modules/alignment.py", line 320, in get_cheapest_align_seq
self._dfs(i, j , [], oper_matrix, "first")
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
self._dfs(i - 1, j - 1, align_seq_now + [(op, i - 1, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
self._dfs(i - 1, j - 1, align_seq_now + [(op, i - 1, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
self._dfs(i - 1, j - 1, align_seq_now + [(op, i - 1, i, j - 1, j)], oper_matrix, strategy)
[Previous line repeated 1 more time]
File "/workspace/src/ChERRANT/modules/alignment.py", line 307, in _dfs
self._dfs(i, j - 1, align_seq_now + [(op, i, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 307, in _dfs
self._dfs(i, j - 1, align_seq_now + [(op, i, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 307, in _dfs
self._dfs(i, j - 1, align_seq_now + [(op, i, i, j - 1, j)], oper_matrix, strategy)
[Previous line repeated 385 more times]
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
self._dfs(i - 1, j - 1, align_seq_now + [(op, i - 1, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
self._dfs(i - 1, j - 1, align_seq_now + [(op, i - 1, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
self._dfs(i - 1, j - 1, align_seq_now + [(op, i - 1, i, j - 1, j)], oper_matrix, strategy)
[Previous line repeated 3 more times]
File "/workspace/src/ChERRANT/modules/alignment.py", line 307, in _dfs
self._dfs(i, j - 1, align_seq_now + [(op, i, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 307, in _dfs
self._dfs(i, j - 1, align_seq_now + [(op, i, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 307, in _dfs
self._dfs(i, j - 1, align_seq_now + [(op, i, i, j - 1, j)], oper_matrix, strategy)
[Previous line repeated 499 more times]
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
self._dfs(i - 1, j - 1, align_seq_now + [(op, i - 1, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
self._dfs(i - 1, j - 1, align_seq_now + [(op, i - 1, i, j - 1, j)], oper_matrix, strategy)
File "/workspace/src/ChERRANT/modules/alignment.py", line 303, in _dfs
[Previous line repeated 40 more times]
RecursionError: maximum recursion depth exceeded
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/workspace/src/ChERRANT/parallel_to_m2.py", line 116, in <module>
main(args)
File "/workspace/src/ChERRANT/parallel_to_m2.py", line 90, in main
ret = annotate(line)
^^^^^^^^^^^^^^
File "/workspace/src/ChERRANT/parallel_to_m2.py", line 44, in annotate
raise Exception
Exception

英国
浏览 48
收藏
3
分享
3 +1
1
+1
全部评论 1
 
洋
插眼
· 广东省
回复