diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py index 430c6c715b223dc3f3a72c4708c470c7b0722191..75c7629fa2721ed83d6d5d409ce80319cdf71f0e 100644 --- a/modules/deeplearning/srcnn_l1b_l2.py +++ b/modules/deeplearning/srcnn_l1b_l2.py @@ -793,6 +793,7 @@ def analyze(file='/Users/tomrink/cld_opd_out.npy'): pred = pred.flatten() pred = np.where(pred < 0.0, 0.0, pred) + pred = np.where(pred > 160.0, 160.0, pred) lbls = lbls.flatten() diff = pred - lbls