Hi, I want to add some zeros at the end of CIFAR-10 dataset. I tried this:
for batch_idx, (inputs, targets) in enumerate(trainloader):
            if use_cuda:
                inputs, targets = inputs.cuda(), targets.cuda()

                input_zero = torch.zeros(batch_size, 3, 5, 32).cuda()
                tragets_zero = torch.zeros(batch_size, 10).cuda()

             targets = torch.cat((targets, tragets_zero))
             inputs_new = torch.cat((inputs, input_zero), 2)

It shows this error at  targets = torch.cat((targets, tragets_zero)):
RuntimeError: Expected object of scalar type Long but got scalar type Float for sequence element 1 in sequence argument at position #1 'tensors'

How can I solve this?