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

snapshot...

parent 8de033d0
No related branches found
No related tags found
No related merge requests found
......@@ -314,11 +314,11 @@ class SRCNN:
data_norm = []
for param in data_params_half:
# If next 2 uncommented, take out get_grid_cell_mean
# idx = params.index(param)
# tmp = input_data[:, idx, :, :]
idx = params_i.index(param)
tmp = input_label[:, idx, :, :]
tmp = get_grid_cell_mean(tmp)
idx = params.index(param)
tmp = input_data[:, idx, :, :]
# idx = params_i.index(param)
# tmp = input_label[:, idx, :, :]
# tmp = get_grid_cell_mean(tmp)
tmp = tmp[:, slc_y, slc_x]
tmp = normalize(tmp, param, mean_std_dct)
data_norm.append(tmp)
......@@ -334,7 +334,7 @@ class SRCNN:
data_norm.append(lo[:, slc_y, slc_x])
data_norm.append(hi[:, slc_y, slc_x])
data_norm.append(std[:, slc_y, slc_x])
data_norm.append(avg[:, slc_y, slc_x])
# ---------------------------------------------------
# If next uncommented, take out get_grid_cell_mean
# tmp = input_data[:, label_idx, :, :]
......
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