From 05b02b6b7f7a304125198a1ce676571021a89709 Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 23 Nov 2022 15:35:12 -0600 Subject: [PATCH] snapshot... --- modules/deeplearning/icing_fcn.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/deeplearning/icing_fcn.py b/modules/deeplearning/icing_fcn.py index 95876f07..e9d619c8 100644 --- a/modules/deeplearning/icing_fcn.py +++ b/modules/deeplearning/icing_fcn.py @@ -359,7 +359,12 @@ class IcingIntensityFCN: nda[np.logical_and(nda >= 6000, nda < 8000)] = 3 nda[np.logical_and(nda >= 8000, nda < 15000)] = 4 + # nda[np.logical_and(nda >= 0, nda < 2000)] = 0 + # nda[np.logical_and(nda >= 2000, nda < 8000)] = 1 + # nda[np.logical_and(nda >= 8000, nda < 15000)] = 2 + nda = tf.one_hot(nda, 5).numpy() + # nda = tf.one_hot(nda, 3).numpy() nda = np.expand_dims(nda, axis=1) nda = np.expand_dims(nda, axis=1) -- GitLab