Data loader with a custom dataset

Hi!
What I want to do: create a numpy array, fill this array with text data and then use the Data loader to feed the data to neural net
Is this a good way to feed data to a neural network using Pytorch?

Thanks

you should look at our examples, which give you better hints on how to achieve this:

https://github.com/pytorch/examples

1 Like