79177127

Date: 2024-11-11 09:48:25
Score: 0.5
Natty:
Report link

The error occurs asy_train contains non-numeric data, which is not compatible with torch.tensor.

Check the contents of y_train and ensure that the is only numeric values so you can safely convert to a tensor.

Also, based on the error it seems the incorrect type in y_train is a numpy object.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: EuanG