From a0b6cf66cc8c66a9495c8ca30503a5d4068462ea Mon Sep 17 00:00:00 2001 From: tomrink <rink@ssec.wisc.edu> Date: Wed, 17 Jan 2024 16:13:05 -0600 Subject: [PATCH] snapshot... --- modules/deeplearning/cloud_fraction_fcn_abi.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/deeplearning/cloud_fraction_fcn_abi.py b/modules/deeplearning/cloud_fraction_fcn_abi.py index fad30b29..347029db 100644 --- a/modules/deeplearning/cloud_fraction_fcn_abi.py +++ b/modules/deeplearning/cloud_fraction_fcn_abi.py @@ -406,16 +406,6 @@ class SRCNN: data = data.astype(np.float32) label = label.astype(np.float32) - # if is_training and DO_AUGMENT: - # data_ud = np.flip(data, axis=1) - # label_ud = np.flip(label, axis=1) - # - # data_lr = np.flip(data, axis=2) - # label_lr = np.flip(label, axis=2) - # - # data = np.concatenate([data, data_ud, data_lr]) - # label = np.concatenate([label, label_ud, label_lr]) - return data, label def get_in_mem_data_batch_train(self, idxs): -- GitLab