Beginner : input and target data in pytorch?

hello all,
i am beginner in deep learning and try learning pytorch. I have two files csv
x : input file : list with (1934,1024) shape
y : target file : list with (1934,8) shape

how i prepare this dataset for feed in my model in pytorch?

Hi,

You need to load the csv into a Tensor. You can look online how people usually do that.
You can also check the dataloading tutorial for pytorch here

thanks for your reply , i `ll try to understand from the tutorial.I’ve managed to input and change it to tensor. THe next step is DATA loader is that right? One more thing
I want to ask even i dont have validation data i have to create it with torch.utils.data right?

You don’t have to. But it will make your code cleaner and easier to extend :slight_smile: