You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: