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

snapshot...

parent fd46a073
No related branches found
No related tags found
No related merge requests found
......@@ -883,10 +883,8 @@ 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]))
print(np.histogram(labels))
print(np.histogram(preds))
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