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

snapshot...

parent ee6b040c
No related branches found
No related tags found
No related merge requests found
......@@ -883,6 +883,10 @@ class SRCNN:
def run_restore_static(directory, ckpt_dir, out_file=None):
nn = SRCNN()
labels, cat_cld_frac, preds, inputs = nn.run_restore(directory, ckpt_dir)
print(np.nanmin(labels), np.nanmax(labels))
print(np.nanmin(preds), np.nanmax(preds))
print(np.nanmin(cat_cld_frac), np.nanmax(cat_cld_frac))
print(np.nanmin(inputs[:, :, :, 0]), np.nanmax(inputs[:, :, :, 0]))
if out_file is not None:
y_hi, x_hi = (Y_LEN // 4) + 1, (X_LEN // 4) + 1
np.save(out_file,
......
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