for step,data in enumerate(tqdm(train_loader)):
img=data['img'].to(device, non_blocking=True).float()
target=data['label'].to(device, non_blocking=True).long()
but in SBI_dataset : only return img_f,img_r. there is no label, could someone solve my problem.
for step,data in enumerate(tqdm(train_loader)): img=data['img'].to(device, non_blocking=True).float() target=data['label'].to(device, non_blocking=True).long() but in SBI_dataset : only return img_f,img_r. there is no label, could someone solve my problem.