Right now at the same time yes. I already implemented a Dataset which returns a namedtuple with image and sentence inside but will this be enough for DataLoader to cope with it? In my first try, it seemed to pack the sentences inside object typed tensors since they where not padded and had different lengths. But for padding, we need to be at the point where we form the batches which is also handled by DataLoader. Thanks.