could anyone else help me ,i fail to run this code . it shows in this part of code:
loss_lr = loss_MSE(wavelets_predict[:,0:3,:,:], wavelets_lr, opt.mse_avg)
loss_sr = loss_MSE(wavelets_predict[:, 3:, :, :], wavelets_sr, opt.mse_avg)
loss_textures = loss_Textures(wavelets_predict[:, 3:, :, :], wavelets_sr)
loss_img = loss_MSE(img_predict, target, opt.mse_avg)
the "wavelets_predict[:,0:3,:,:]" tensor.size ([16, 48, 128, 128]), but "wavelets_lr" is([16, 3, 32, 32]), i wanna know did anyone meet the same problem, how did you solve it?
could anyone else help me ,i fail to run this code . it shows in this part of code: loss_lr = loss_MSE(wavelets_predict[:,0:3,:,:], wavelets_lr, opt.mse_avg) loss_sr = loss_MSE(wavelets_predict[:, 3:, :, :], wavelets_sr, opt.mse_avg) loss_textures = loss_Textures(wavelets_predict[:, 3:, :, :], wavelets_sr) loss_img = loss_MSE(img_predict, target, opt.mse_avg) the "wavelets_predict[:,0:3,:,:]" tensor.size ([16, 48, 128, 128]), but "wavelets_lr" is([16, 3, 32, 32]), i wanna know did anyone meet the same problem, how did you solve it?