From 201ac29454d4457430801b3ea572d7335a6e5322 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 29 Sep 2023 11:50:53 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/esrgan_exp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/deeplearning/esrgan_exp.py b/modules/deeplearning/esrgan_exp.py index f9989cdc..f39a43ed 100644 --- a/modules/deeplearning/esrgan_exp.py +++ b/modules/deeplearning/esrgan_exp.py @@ -15,7 +15,8 @@ target_param = 'cld_opd_dcomp' # SAVED_MODEL_PATH = home_dir + '/esrgan-tf2_1' SAVED_MODEL_PATH = '/ships22/cloud/scratch/Satellite_Output/GOES-16/global/NREL_2023/2023_east_cf/tf_model_esrgan/esrgan' -model = hub.load(SAVED_MODEL_PATH) +# model = hub.load(SAVED_MODEL_PATH) +model = tf.saved_model.load(SAVED_MODEL_PATH) def get_image_from_file(in_file): -- GitLab