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

snapshot...

parent a0184bf6
Branches
No related tags found
No related merge requests found
...@@ -20,8 +20,8 @@ LOG_DEVICE_PLACEMENT = False ...@@ -20,8 +20,8 @@ LOG_DEVICE_PLACEMENT = False
PROC_BATCH_SIZE = 4 PROC_BATCH_SIZE = 4
PROC_BATCH_BUFFER_SIZE = 5000 PROC_BATCH_BUFFER_SIZE = 5000
NumClasses = 7 # NumClasses = 7
# NumClasses = 5 NumClasses = 5
if NumClasses == 2: if NumClasses == 2:
NumLogits = 1 NumLogits = 1
else: else:
...@@ -355,16 +355,6 @@ class SRCNN: ...@@ -355,16 +355,6 @@ class SRCNN:
tmp = normalize(tmp, param, mean_std_dct) tmp = normalize(tmp, param, mean_std_dct)
data_norm.append(tmp) data_norm.append(tmp)
# for param in sub_fields:
# idx = params.index(param)
# tmp = input_data[:, idx, :, :]
# tmp = tmp[:, slc_y, slc_x]
# if param != 'refl_substddev_ch01':
# tmp = normalize(tmp, 'refl_0_65um_nom', mean_std_dct)
# else:
# tmp = np.where(np.isnan(tmp), 0, tmp)
# data_norm.append(tmp)
rlo = input_data[:, params.index('refl_submin_ch01'), :, :] rlo = input_data[:, params.index('refl_submin_ch01'), :, :]
rlo = rlo[:, slc_y, slc_x] rlo = rlo[:, slc_y, slc_x]
rlo = normalize(rlo, 'refl_0_65um_nom', mean_std_dct) rlo = normalize(rlo, 'refl_0_65um_nom', mean_std_dct)
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment