Hello,
I have a PyTorch data_loader with three fields and iterates as follows:
for i, (input, target_class, name) in enumerate(data_loader):
But I want it to enumerate over ‘input’ and ‘target_class’. How can I unpack data_loader in two values given that it has originally three values? Please help. Thanks.