Hey, guys! I’m using Google Colab and I’m facing this error and don’t know how to fix it. Can you help to solve this error: “ValueError: only one element tensors can be converted to Python scalars”
   6         model.hidden = (torch.zeros(1, 1, model.hidden_layer_size),
    7                         torch.zeros(1, 1, model.hidden_layer_size))

----> 8         test_inputs.append(model(seq).item())
ValueError: only one element tensors can be converted to Python scalars