From daa3d4f312d5c9113eea5b636d4d06ef9b97e31a Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Thu, 13 May 2021 11:55:02 -0500
Subject: [PATCH] minor...

---
 modules/deeplearning/icing_cnn.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/deeplearning/icing_cnn.py b/modules/deeplearning/icing_cnn.py
index 08a57c10..67801601 100644
--- a/modules/deeplearning/icing_cnn.py
+++ b/modules/deeplearning/icing_cnn.py
@@ -294,10 +294,14 @@ class IcingIntensityNN:
         if trn_idxs is None:
             time = self.h5f_trn['time']
             trn_idxs = np.arange(time.shape[0])
+            if seed is not None:
+                np.random.seed(seed)
             np.random.shuffle(trn_idxs)
 
             time = self.h5f_tst['time']
             tst_idxs = np.arange(time.shape[0])
+            if seed is not None:
+                np.random.seed(seed)
             np.random.shuffle(tst_idxs)
 
         self.num_data_samples = trn_idxs.shape[0]
-- 
GitLab