Hello, I am training a neural network where the input is raw data and the output is RGB data. Therefore, to ensure alignment (see the paper ), I need to make the same transformations in the raw domain for both input and output, such as flip, rotation, crop, and then keep the input data in the raw domain while transforming the output to the RGB domain. However, it seems that the following code does not modify the underlying numpy array of rawpy.
Hello, I am training a neural network where the input is raw data and the output is RGB data. Therefore, to ensure alignment (see the paper ), I need to make the same transformations in the raw domain for both input and output, such as flip, rotation, crop, and then keep the input data in the raw domain while transforming the output to the RGB domain. However, it seems that the following code does not modify the underlying numpy array of rawpy.