def tf1(img):
    ds_factor = np.maximum(img.shape[0], img.shape[1]) / 85.0
    return data.build_rescale_transform(ds_factor, img.shape, patch_sizes[0])
dataset/ETHPy150Open benanne/kaggle-ndsb/configurations/bagging_23_cp8.py/tf1/original