Hi, spent the last couple hours researching this to no avail. I’m trying to import both my testing images and my overlay masks into pytorch as one dataset.
How can I make a dataset? I already read the offical pytorch tutorial but that one uses a csv file as the labels but this time I have actual images as labels. Please help thanks.
Hello!I am quite new in pytorch and recently had to deal with sth like that. I am not sure if I understand your issue very well, but this is how I made my dataset:
In my case I only have the pictures and masks in one folder each, but I suppose there is a workaround for the subfolders. I hope this will be of help and not more confusing!Good luck!