Error in converting array into tensor

try,

inputs = torch.from_numpy(inputs_array).float()

If problems persist reply to this thread and share the link to your notebook.

1 Like

still, there is an error.https://colab.research.google.com/drive/1RKAr9-oiYPsoX8tin7NTGLFV23Jcbjh2#scrollTo=uMh3Dm6a3lLEI am attaching my colab link

Can you please share your jovian notebook link? Accessing Google Colab link is requesting for permission.