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

snapshot...

parent b1191322
Branches
No related tags found
No related merge requests found
...@@ -9,9 +9,11 @@ import h5py ...@@ -9,9 +9,11 @@ import h5py
from util.util import scale, descale, get_grid_values_all from util.util import scale, descale, get_grid_values_all
from util.setup import home_dir from util.setup import home_dir
target_param = 'cld_opd_dcomp'
# SAVED_MODEL_PATH = "https://tfhub.dev/captain-pool/esrgan-tf2/1" # SAVED_MODEL_PATH = "https://tfhub.dev/captain-pool/esrgan-tf2/1"
# SAVED_MODEL_PATH = '/Users/tomrink/Downloads/esrgan-tf2_1' # SAVED_MODEL_PATH = '/Users/tomrink/Downloads/esrgan-tf2_1'
SAVED_MODEL_PATH = home_dir+'esrgan-tf2_1' SAVED_MODEL_PATH = home_dir+'/esrgan-tf2_1'
model = hub.load(SAVED_MODEL_PATH) model = hub.load(SAVED_MODEL_PATH)
...@@ -27,7 +29,7 @@ def get_image(in_file): ...@@ -27,7 +29,7 @@ def get_image(in_file):
# bt = get_grid_values_all(h5f, 'temp_11_0um_nom') # bt = get_grid_values_all(h5f, 'temp_11_0um_nom')
# bt = bt[s_y, s_x] # bt = bt[s_y, s_x]
cld_opd = get_grid_values_all(h5f, 'cld_opd_dcomp') cld_opd = get_grid_values_all(h5f, target_param)
cld_opd = cld_opd[s_y, s_x] cld_opd = cld_opd[s_y, s_x]
shape = cld_opd.shape shape = cld_opd.shape
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment