DomainTransferNetwork.pytorch
DomainTransferNetwork.pytorch copied to clipboard
A pytorch implementation of the Domain Transfer Network (DTN), Unsupervised Cross-Domain Image Generation
the targer emerge -1,the code current for i, (input_, target) in enumerate(val_loader): input = torch.FloatTensor(input_.size(0), 3, input_.size(2), input_.size(3)) if opt.dataset == 'mnist': input[:,0,:,:].copy_(input_) input[:,1,:,:].copy_(input_) input[:,2,:,:].copy_(input_) else: target -= 1 error...
Hi when i run your code ,i find a problem,could you give me a hand? how to solve the problem ? /pytorch/torch/lib/THCUNN/ClassNLLCriterion.cu:101: void cunn_ClassNLLCriterion_updateOutput_kernel(Dtype *, Dtype *, Dtype *, long...