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

snapshot...

parent 120ac998
Branches
No related tags found
No related merge requests found
......@@ -684,7 +684,6 @@ class SRCNN:
ckpt = tf.train.Checkpoint(step=tf.Variable(1), model=self.model)
ckpt_manager = tf.train.CheckpointManager(ckpt, ckpt_dir, max_to_keep=3)
ckpt.restore(ckpt_manager.latest_checkpoint)
self.reset_test_metrics()
......@@ -778,8 +777,8 @@ def run_evaluate_static(in_file, out_file, ckpt_dir):
hr_grd_c = grd_c.copy()
hr_grd_c = hr_grd_c[y_128, x_128]
grd_c = grd_c.copy()
grd_c = np.where(np.isnan(grd_c), 0, grd_c)
grd_c = grd_c.copy()
grd_c = grd_c[slc_y_2, slc_x_2]
grd_c = resample_2d_linear_one(x_2, y_2, grd_c, t, s)
grd_c = grd_c[y_k, x_k]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment