diff --git a/modules/deeplearning/cloud_opd_fcn_abi.py b/modules/deeplearning/cloud_opd_fcn_abi.py index 77b916f93b078048f5f578f310ade3001a4093e4..294ce5d8e492a5d6ef09810628c0839018cac4e0 100644 --- a/modules/deeplearning/cloud_opd_fcn_abi.py +++ b/modules/deeplearning/cloud_opd_fcn_abi.py @@ -343,16 +343,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):