From 6c5f12ed61b7292a02e29b7a59476288efc28929 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 12 Jul 2021 14:45:27 -0500
Subject: [PATCH] minor

---
 modules/deeplearning/icing_cnn.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/deeplearning/icing_cnn.py b/modules/deeplearning/icing_cnn.py
index f5771128..e64d9e7f 100644
--- a/modules/deeplearning/icing_cnn.py
+++ b/modules/deeplearning/icing_cnn.py
@@ -599,7 +599,7 @@ class IcingIntensityNN:
 
         step = 0
         total_time = 0
-        last_test_loss = np.finfo(dtype=np.float)
+        last_test_loss = np.finfo(dtype=np.float).max
 
         if EARLY_STOP:
             es = EarlyStop()
-- 
GitLab