abhijithneilabraham / abhijithneilabraham/Covid-QA

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

Aberta
#2 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
18
Forks
1
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

![image](https://user-images.githubusercontent.com/88923325/210024658-9dd2e845-f7d8-4a31-bb71-d55cb45dd7c8.png)
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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.