bert_crf icon indicating copy to clipboard operation
bert_crf copied to clipboard

IndexError

Open hongloc8 opened this issue 2 years ago • 0 comments

When i changed the line 113, 114 in pad function by: maxlen = 501 do_pad = lambda x, seqlen: [sample[x][:maxlen] + [0] * (seqlen - len(sample[x])) for sample in batch] # 0: I have this error, can you help me, thanks you image

hongloc8 avatar Jan 19 '22 05:01 hongloc8