abhijithneilabraham / abhijithneilabraham/Covid-QA

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

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
18
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.