From a034eee02834eeeb3fb202a07a6f3d29cbf00731 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Fri, 30 Apr 2021 10:25:48 -0500 Subject: [PATCH] snapshot... --- modules/deeplearning/icing_cnn.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/deeplearning/icing_cnn.py b/modules/deeplearning/icing_cnn.py index da3b44ef..40af66f3 100644 --- a/modules/deeplearning/icing_cnn.py +++ b/modules/deeplearning/icing_cnn.py @@ -208,12 +208,6 @@ class IcingIntensityNN: label = np.where(label != 0, 1, label) label = label.reshape((label.shape[0], 1)) - # keep = (label == 0) | (label == 3) | (label == 4) | (label == 5) | (label == 6) - # data = data[keep,] - # label = label[keep] - # label = np.where(label != 0, 1, label) - # label = label.reshape((label.shape[0], 1)) - if CACHE_DATA_IN_MEM: self.in_mem_data_cache[key] = (data, label) -- GitLab