diff --git a/modules/util/infer_cloud_fraction.py b/modules/util/infer_cloud_fraction.py
index 543e30beaabcc92ac17df16b9bc45aa66b8204c3..de1c1af329047cd3b9ea8a801676025c999f8ccf 100644
--- a/modules/util/infer_cloud_fraction.py
+++ b/modules/util/infer_cloud_fraction.py
@@ -3,16 +3,17 @@ from aeolus.datasource import CLAVRx
 import os
 from deeplearning.cloud_fraction_fcn_abi import run_evaluate_static, run_evaluate_static_full_disk
 
-tf_model_name = model_path+'tf_model_cld_frac_abi_v1' + os.sep
 
+def infer_cloud_fraction(clvrx_path, output_dir, full_disk=True):
+    ckpt_dir_s = os.listdir(model_path)
+    ckpt_dir = model_path + ckpt_dir_s[0]
 
-def infer_cloud_fraction(clvrx_path, output_dir, model_path=model_path+tf_model_name, full_disk=True):
     clvrx_ds = CLAVRx(clvrx_path)
     for fname, t_start, t_stop in clvrx_ds:
         dto = clvrx_ds.get_datetime(fname)
         clvrx_str_time = dto.strftime('%Y-%m-%d_%H:%M')
         out_file = output_dir + 'cloud_fraction_' + clvrx_str_time
         if full_disk:
-            run_evaluate_static_full_disk(fname, out_file, model_path)
+            run_evaluate_static_full_disk(fname, out_file, ckpt_dir)
         else:
-            run_evaluate_static(fname, out_file, model_path)
+            run_evaluate_static(fname, out_file, ckpt_dir)