diff --git a/instageo/model/dataloader.py b/instageo/model/dataloader.py index 79a6fb5..81317f0 100644 --- a/instageo/model/dataloader.py +++ b/instageo/model/dataloader.py @@ -282,14 +282,6 @@ def get_raster_data( data = src.read() if (not is_label) and bands: data = data[bands, ...] - # For some reasons, some few HLS tiles are not scaled in v2.0. - # In the following lines, we find and scale them - bands = [] - for band in data: - if band.max() > 10: - band *= 0.0001 - bands.append(band) - data = np.stack(bands, axis=0) return data