Do you want something like this?
for i, (input, target, _) in enumerate(dataloader):
    ...

Or, you can change your Dataset to yield (_iter_) or return (_getitem_) only input and target without name.