abhijithneilabraham / abhijithneilabraham/Covid-QA

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

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
18
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

![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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.