Skip to content
Snippets Groups Projects
Commit ab7f6e63 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent d71754bb
No related branches found
No related tags found
No related merge requests found
......@@ -225,10 +225,12 @@ class ESPCN:
# if label_param != 'cloud_fraction':
# label = scale(label, label_param, mean_std_dct)
add_noise = None
noise_scale = None
if is_training:
data = normalize(data, data_param, mean_std_dct, add_noise=True, noise_scale=0.005)
else:
data = normalize(data, data_param, mean_std_dct)
add_noise = True
noise_scale = 0.005
data = normalize(data, data_param, mean_std_dct, add_noise=add_noise, noise_scale=noise_scale)
if label_param != 'cloud_fraction':
label = normalize(label, label_param, mean_std_dct)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment