Why Pytorch Dataset class does not returning list?
Why Pytorch Dataset class does not returning list? Question: I am trying to use torch.utils.Dataset on a custom dataset. In my dataset, in a single row I have a list of 10 images like as follow: | word | images | gold_image | |:—–|:——-|:———–| |’andromeda’|[‘image.1.jpg’,’image.2.jpg’,’image.3.jpg’]|[0,0,1]| I expect to return batch from dataloader like this, with …