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

snapshot...

parent 054967b0
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ import glob
import tensorflow as tf
from util.setup import logdir, modeldir, now, ancillary_path
from util.util import EarlyStop, normalize, denormalize, get_grid_values_all, resample_2d_linear
from util.util import EarlyStop, normalize, denormalize, scale, descale, get_grid_values_all, resample_2d_linear
import os, datetime
import numpy as np
import pickle
......@@ -291,7 +291,8 @@ class SRCNN:
# -----------------------------------------------------
# -----------------------------------------------------
label = input_label[:, label_idx_i, :, :]
label = normalize(label, label_param, mean_std_dct)
# label = normalize(label, label_param, mean_std_dct)
label = scale(label, label_param, mean_std_dct)
label = label[:, self.y_128, self.x_128]
label = np.where(np.isnan(label), 0, label)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment