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

snapshot...

parent 7b0d1f60
Branches
No related tags found
No related merge requests found
...@@ -944,10 +944,9 @@ def run_restore_static(directory, ckpt_dir, out_file=None): ...@@ -944,10 +944,9 @@ def run_restore_static(directory, ckpt_dir, out_file=None):
[np.squeeze(labels), preds.argmax(axis=3), [np.squeeze(labels), preds.argmax(axis=3),
denormalize(inputs[:, 1:y_hi, 1:x_hi, 0], 'temp_11_0um_nom', mean_std_dct), denormalize(inputs[:, 1:y_hi, 1:x_hi, 0], 'temp_11_0um_nom', mean_std_dct),
denormalize(inputs[:, 1:y_hi, 1:x_hi, 1], 'refl_0_65um_nom', mean_std_dct), denormalize(inputs[:, 1:y_hi, 1:x_hi, 1], 'refl_0_65um_nom', mean_std_dct),
denormalize(inputs[:, 1:y_hi, 1:x_hi, 2], 'refl_0_65um_nom', mean_std_dct), inputs[:, 1:y_hi, 1:x_hi, 2],
denormalize(inputs[:, 1:y_hi, 1:x_hi, 3], 'refl_0_65um_nom', mean_std_dct), inputs[:, 1:y_hi, 1:x_hi, 3],
inputs[:, 1:y_hi, 1:x_hi, 4], inputs[:, 1:y_hi, 1:x_hi, 4]])
inputs[:, 1:y_hi, 1:x_hi, 5]])
def run_evaluate_static(in_file, out_file, ckpt_dir): def run_evaluate_static(in_file, out_file, ckpt_dir):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment