ValueError: too many dimensions 'str'

I keep getting this error consistently when I run my code. Have not found anything yet to solve this issue.

Please click on link to see my notebook and the issue.

Any help is great.


Could you check the type of these inputs to torch.tensor?


Based on the error message and stack trace at least one of these tensor creations fails with this rather unhelpful error message.

1 Like