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

add method to scale data

parent ca63ee2d
Branches
No related tags found
No related merge requests found
...@@ -244,7 +244,8 @@ class UNET: ...@@ -244,7 +244,8 @@ class UNET:
data_norm.append(tmp) data_norm.append(tmp)
data = np.stack(data_norm, axis=3) data = np.stack(data_norm, axis=3)
label = scale(label, label_param, mean_std_dct) if label_param != 'cloud_fraction':
label = scale(label, label_param, mean_std_dct)
if is_training and DO_AUGMENT: if is_training and DO_AUGMENT:
data_ud = np.flip(data, axis=1) data_ud = np.flip(data, axis=1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment