Custome Dataset, Data loader


I am new to pytorch .
I have big dataset consist of two txt files one for data and other for target data .
In training file each line is list of length 340, In target each line is list of 136.

I would like to ask how i can define my dataset so I can use Dataloader to load my data to train pytorch model?

I apricate you answers

Hello there,

You can follow up this tutorial for writing custom Dataset and Dataloader respectively.