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

snapshot...

parent b39e8e2f
No related branches found
No related tags found
No related merge requests found
......@@ -225,7 +225,11 @@ class ESPCN:
# if label_param != 'cloud_fraction':
# label = scale(label, label_param, mean_std_dct)
data = normalize(data, data_param, mean_std_dct, add_noise=True, noise_scale=0.005)
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)
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.
Finish editing this message first!
Please register or to comment