BARTNER icon indicating copy to clipboard operation
BARTNER copied to clipboard

'tgt_seq_len' is not defined

Open vineeth143 opened this issue 4 years ago • 1 comments

Traceback (most recent call last): File "predictor.py", line 128, in tgt_seq_len = (tgt_seq_len - 2).tolist() NameError: name 'tgt_seq_len' is not defined

vineeth143 avatar Mar 29 '22 11:03 vineeth143

https://github.com/yhcc/BARTNER/blob/b1741fec4d1696b5712f5d60b3ee1318bd8d05c9/predictor.py#L116 加了一行这个,应该是ok 了。

yhcc avatar Apr 09 '22 04:04 yhcc