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

snapshot...

parent eee2b990
No related branches found
No related tags found
No related merge requests found
import glob import glob
import tensorflow as tf import tensorflow as tf
from util.setup import logdir, modeldir, cachepath, now, ancillary_path, home_dir from util.setup import logdir, modeldir, cachepath, now, ancillary_path, home_dir
from util.util import EarlyStop, normalize, make_for_full_domain_predict from util.util import EarlyStop, normalize, make_for_full_domain_predict, scale
import os, datetime import os, datetime
import numpy as np import numpy as np
...@@ -199,8 +199,8 @@ class UNET: ...@@ -199,8 +199,8 @@ class UNET:
data = data.astype(np.float32) data = data.astype(np.float32)
label = label.astype(np.float32) label = label.astype(np.float32)
data = normalize(data, param, mean_std_dct) data = scale(data, param, None)
label = normalize(label, param, mean_std_dct) label = scale(label, param, None)
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.
Finish editing this message first!
Please register or to comment