Hi, thank you very much for sharing your code.
I ran your model(WDSR_b ) based on EDSR-Pytorch as backbone training framework, but it reported an error as follows:
AttributeError: 'Namespace' object has no attribute 'r_mean'
The relevant code is located in wdsr-b.py:
self.rgb_mean = torch.autograd.Variable(torch.FloatTensor(
[args.r_mean, args.g_mean, args.b_mean])).view([1, 3, 1, 1])
And I can't find the values of r_mean,g_mean and b_mean in option.py, so could you tell how to set these values?
Hi, thank you very much for sharing your code. I ran your model(WDSR_b ) based on EDSR-Pytorch as backbone training framework, but it reported an error as follows:
AttributeError: 'Namespace' object has no attribute 'r_mean'
The relevant code is located in wdsr-b.py: self.rgb_mean = torch.autograd.Variable(torch.FloatTensor( [args.r_mean, args.g_mean, args.b_mean])).view([1, 3, 1, 1])
And I can't find the values of r_mean,g_mean and b_mean in option.py, so could you tell how to set these values?