diff --git a/modules/deeplearning/srcnn_l1b_l2.py b/modules/deeplearning/srcnn_l1b_l2.py index 30c0ff7f6dd45f635447011d16474806f2698565..9904111a02df849b78e90aab30b6b567ba4b1ec4 100644 --- a/modules/deeplearning/srcnn_l1b_l2.py +++ b/modules/deeplearning/srcnn_l1b_l2.py @@ -807,14 +807,21 @@ def analyze(file='/Users/tomrink/cld_opd_out.npy'): mae = (np.sum(np.abs(diff))) / diff.size print('MAE: ', mae) - bin_ranges = util.util.get_bin_ranges(0.0, 160.0, 20.0) - bin_edges = [] bin_ranges = [] - bin_ranges.append([0.0, 5.0]) + bin_ranges.append([0.0, 0.1]) bin_edges.append(0.0) + bin_ranges.append([0.1, 0.5]) + bin_edges.append(0.1) + + bin_ranges.append([0.5, 2.0]) + bin_edges.append([0.5]) + + bin_ranges.append([2.0, 5.0]) + bin_edges.append(2.0) + bin_ranges.append([5.0, 10.0]) bin_edges.append(5.0)