abhijithneilabraham / abhijithneilabraham/Covid-QA

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

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
18
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。