But the object returned by your Dataloader seems to be a list, so perhaps it’s just a list of a single Tensor? Or perhaps it’s return a batch of lists?



 ADONAI_TZEVAOT:

AttributeError: ‘list’ object has no attribute ‘type’