Covid-QA icon indicating copy to clipboard operation
Covid-QA copied to clipboard

Error: argmax(): argument 'input' (position 1) must be Tensor, not str

Open peterphancong opened this issue 1 year ago • 0 comments

image Hi, I followed your guide, but it displayed the error 'argmax(): argument 'input' (position 1) must be Tensor, not str' as in the screenshot above. Actually, when I tried to print the 'start_scores' and 'end_scores', they are actually the string, start_score = "start_logits" and end_scores = 'end_logits' Could you please help to check?

Thanks

peterphancong avatar Dec 30 '22 01:12 peterphancong