Closed BigChen28 closed 5 years ago
Hello,thank you very much for sharing your code. I ran your model(WDSR_B) based on EDSR-Pytorch as backbone training framework, but when I ran here:
self.rgb_mean = torch.autograd.Variable(torch.FloatTensor( [args.r_mean, args.g_mean, args.b_mean])).view([1, 3, 1, 1])
I found the following errors: AttributeError: 'Namespace' object has no attribute 'r_mean'
and I can't find the values of r_mean,g_mean,b_mean in the option.py, could you tell me how to set the values of r_mean,g_mean,b_mean?
Hello,thank you very much for sharing your code. I ran your model(WDSR_B) based on EDSR-Pytorch as backbone training framework, but when I ran here:
self.rgb_mean = torch.autograd.Variable(torch.FloatTensor( [args.r_mean, args.g_mean, args.b_mean])).view([1, 3, 1, 1])
I found the following errors: AttributeError: 'Namespace' object has no attribute 'r_mean'
and I can't find the values of r_mean,g_mean,b_mean in the option.py, could you tell me how to set the values of r_mean,g_mean,b_mean?