From 80289922de15ff348c614abdba62ad7c486f3cb6 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Thu, 14 Apr 2022 14:15:24 -0500 Subject: [PATCH] minor... --- modules/deeplearning/icing_fcn.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/deeplearning/icing_fcn.py b/modules/deeplearning/icing_fcn.py index c8e175b1..ab219f2b 100644 --- a/modules/deeplearning/icing_fcn.py +++ b/modules/deeplearning/icing_fcn.py @@ -508,7 +508,7 @@ class IcingIntensityFCN: print('num test samples: ', tst_idxs.shape[0]) print('setup_pipeline: Done') - def setup_test_pipeline(self, filename_l1b, filename_l2, seed=None, shuffle=False): + def setup_test_pipeline(self, filename_l1b, filename_l2): if filename_l1b is not None: self.h5f_l1b_tst = h5py.File(filename_l1b, 'r') @@ -522,10 +522,6 @@ class IcingIntensityFCN: time = h5f['time'] tst_idxs = np.arange(time.shape[0]) self.num_data_samples = len(tst_idxs) - if seed is not None: - np.random.seed(seed) - if shuffle: - np.random.shuffle(tst_idxs) self.get_test_dataset(tst_idxs) -- GitLab