0.14版本下 08.machine_translation infer无法运行
Created by: zishuaiz
Traceback (most recent call last):
File "infer.py", line 210, in <module>
main(use_cuda)
File "infer.py", line 205, in main
decode_main(False) # Beam Search does not support CUDA
File "infer.py", line 147, in decode_main
translation_ids, translation_scores = decode(context)
File "infer.py", line 112, in decode
level=0)
TypeError: beam_search() got multiple values for keyword argument 'end_id'