there are 2599 pics, but the results are only with the first 40…
some scripts are as follows:
dataset = dset.ImageFolder(root=opt.dataroot, transform=transform )
assert dataset
dataloader = torch.utils.data.DataLoader(dataset, batch_size=opt.batchSize,
shuffle=False, num_workers=int(opt.workers))
for i, data in enumerate(dataloader, 0):
vutils.save_image(recon_image.data[i], ‘result/celea_ce/val_fake_%d.png’ % (i), normalize=True)
and debug snap is follow:

image.png1175×485 36.3 KB

imgs.length is 2599, however the final i is 40…