From 3c1efaf2cd05491065c16d10e190d0c8bd941818 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 22 Aug 2022 10:05:32 -0500
Subject: [PATCH] snapshot..

---
 modules/deeplearning/espcn.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/deeplearning/espcn.py b/modules/deeplearning/espcn.py
index 1c706e28..50626c18 100644
--- a/modules/deeplearning/espcn.py
+++ b/modules/deeplearning/espcn.py
@@ -580,15 +580,6 @@ class ESPCN:
         self.writer_valid.close()
         self.writer_train_valid_loss.close()
 
-        if self.h5f_l1b_trn is not None:
-            self.h5f_l1b_trn.close()
-        if self.h5f_l1b_tst is not None:
-            self.h5f_l1b_tst.close()
-        if self.h5f_l2_trn is not None:
-            self.h5f_l2_trn.close()
-        if self.h5f_l2_tst is not None:
-            self.h5f_l2_tst.close()
-
         # f = open(home_dir+'/best_stats_'+now+'.pkl', 'wb')
         # pickle.dump((best_test_loss, best_test_acc, best_test_recall, best_test_precision, best_test_auc, best_test_f1, best_test_mcc), f)
         # f.close()
-- 
GitLab