abhijithneilabraham / abhijithneilabraham/Covid-QA

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

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
18
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.