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

snaphot...

parent caa55a7c
No related branches found
No related tags found
No related merge requests found
import glob import glob
import tensorflow as tf import tensorflow as tf
from util.setup import logdir, modeldir, cachepath, now, ancillary_path from util.setup import logdir, modeldir, cachepath, now, ancillary_path
from util.util import EarlyStop, normalize, denormalize, resample, get_grid_values_all from util.util import EarlyStop, normalize, denormalize, resample, resample_one, get_grid_values_all
import os, datetime import os, datetime
import numpy as np import numpy as np
import pickle import pickle
...@@ -677,7 +677,7 @@ def run_evaluate_static_new(in_file, out_file, ckpt_dir): ...@@ -677,7 +677,7 @@ def run_evaluate_static_new(in_file, out_file, ckpt_dir):
x_up = np.arange(0, lenx, 0.5) x_up = np.arange(0, lenx, 0.5)
y_up = np.arange(0, leny, 0.5) y_up = np.arange(0, leny, 0.5)
grd = resample(x, y, grd, x_up, y_up) grd = resample_one(y, x, grd, y_up, x_up)
nn = SRCNN() nn = SRCNN()
out_sr = nn.run_evaluate(grd, data_param, ckpt_dir) out_sr = nn.run_evaluate(grd, data_param, 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