diff --git a/modules/deeplearning/icing_cnn.py b/modules/deeplearning/icing_cnn.py
index fcadd0f36db14ee8be919d3e4d323e8bf3ed7c92..da3b44efc906df773194e24614cdbbe7d412e9dc 100644
--- a/modules/deeplearning/icing_cnn.py
+++ b/modules/deeplearning/icing_cnn.py
@@ -151,7 +151,6 @@ class IcingIntensityNN:
         self.initial_learning_rate = None
 
         n_chans = len(train_params)
-        NUM_PARAMS = n_chans
         if TRIPLET:
             n_chans *= 3
         self.X_img = tf.keras.Input(shape=(img_width, img_width, n_chans))