Thank you for your reply.
Loading images (.jpg), as showing below
kwargs = {'num_workers': 4, 'pin_memory': True} if args.cuda else {}

train_loader = torch.utils.data.DataLoader(
        TripletImageLoader('../data',trainImage,
                           trainTriplet,
                           transform=transforms.Compose([
                           transforms.Scale(args.imageSize),
                           transforms.ToTensor(),
                           transforms.Normalize((,), (,))
                           ])),
batch_size=args.batch_size, shuffle=True, **kwargs)