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

snapshot...

parent 1850da3c
No related branches found
No related tags found
No related merge requests found
......@@ -790,9 +790,9 @@ class SRCNN:
def run_restore_static(directory, ckpt_dir, out_file=None):
nn = SRCNN()
labels_denorm, preds_denorm = nn.run_restore(directory, ckpt_dir)
labels, preds = nn.run_restore(directory, ckpt_dir)
if out_file is not None:
np.save(out_file, [np.squeeze(labels_denorm), preds_denorm.argmax(axis=3)])
np.save(out_file, [np.squeeze(labels), preds.argmax(axis=3)])
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.
Finish editing this message first!
Please register or to comment