Traceback (most recent call last):


 "src/gevent/greenlet.py", line 856, in gevent._gevent_cgreenlet.Greenlet.run


 "src/gevent/greenlet.py", line 837, in gevent._gevent_cgreenlet.Greenlet._Greenlet__report_error


 "/tmp/tmp.CObOiHqW0D/venv/lib/python3.8/site-packages/gevent/_tblib.py", line 415, in g

return f(a)


 "/tmp/tmp.CObOiHqW0D/venv/lib/python3.8/site-packages/gevent/_tblib.py", line 470, in dump_traceback

return dumps(tb)


 "/tmp/tmp.CObOiHqW0D/venv/lib/python3.8/site-packages/gevent/_tblib.py", line 133, in __getattr__

return self[name]
RecursionError: maximum recursion depth exceeded while calling a Python object

Traceback (most recent call last):


 "parse2.py", line 24, in <module>

ptmp=han(batch)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/mtl/multi_task_learning.py", line 768, in __call__

return super().__call__(data, batch_size, **kwargs)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 26, in decorate_context

return func(*args, **kwargs)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/common/torch_component.py", line 629, in __call__

return super().__call__(data, **merge_dict(self.config, overwrite=True,


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/common/component.py", line 36, in __call__

return self.predict(data, **kwargs)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/mtl/multi_task_learning.py", line 512, in predict

output_dict = self.predict_task(self.tasks[task_name], task_name, batch, results, output_dict,


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/mtl/multi_task_learning.py", line 592, in predict_task

self.decode_output(output_dict, batch, output_key)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/mtl/multi_task_learning.py", line 728, in decode_output

output_per_task['prediction'] = self.tasks[task_name].decode_output(


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/mtl/tasks/constituency.py", line 135, in decode_output

return CRFConstituencyParser.decode_output(self, out, mask, batch, output.get('span_probs', None),


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/parsers/constituency/crf_constituency_parser.py", line 127, in decode_output

chart_preds = decoder.decode(s_span, s_label, mask)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/parsers/constituency/crf_constituency_model.py", line 189, in decode

span_preds = cky(s_span, mask)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/parsers/alg.py", line 313, in cky

trees = [backtrack(p[i], 0, length) for i, length in enumerate(lens.tolist())]


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/parsers/alg.py", line 313, in <listcomp>

trees = [backtrack(p[i], 0, length) for i, length in enumerate(lens.tolist())]


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/parsers/alg.py", line 308, in backtrack

ltree = backtrack(p, i, split)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/parsers/alg.py", line 308, in backtrack

ltree = backtrack(p, i, split)


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/parsers/alg.py", line 308, in backtrack

ltree = backtrack(p, i, split)

[Previous line repeated 982 more times]


 "/home1/data/cc/opt/anaconda3/lib/python3.8/site-packages/hanlp/components/parsers/alg.py", line 305, in backtrack

if j == i + 1:
RecursionError: maximum recursion depth exceeded in comparison
