def post_augment_gaussian_noise_gen_separate(data_gen, std=0.1):
    for target_arrays, chunk_size in data_gen:
        labels = target_arrays.pop()

        new_target_arrays = []

        for target_array in target_arrays:
            noise = np.random.randn(*target_array.shape).astype('float32') * std
            new_target_arrays.append(np.clip(target_array + noise, 0, 1))

        new_target_arrays.append(labels)

        yield new_target_arrays, chunk_size


### Alternative image loader and processor which does pysex centering

# pysex_params_train = load_data.load_gz("data/pysex_params_extra_train.npy.gz")
# pysex_params_test = load_data.load_gz("data/pysex_params_extra_test.npy.gz")
Construct a new Waypoint from dictionaries of attribute and child
dataset/ETHPy150Open benanne/kaggle-galaxies/realtime_augmentation.py/post_augment_gaussian_noise_gen_separate--crossover with--dataset/ETHPy150Open golismero/golismero/thirdparty_libs/geopy/parsers/gpx.py/Waypoint.from_xml_names