I have created a custom dataset, and now I am trying to use it to train a model. I’m working off of this tutorial: PyTorch - Training a Convent from Scratch - Tutorialspoint 4 which doesn’t show what X is. I tried passing in my custom dataset, but it expects a Tensor object, whereas my dataset is a list of (Tensor, str) tuples.
How can I feed this into the model cleanly? Bear in mind I’m very new to PyTorch, having just started using it today.