Thank you. is there a way to apply augmentation on torch tensor it self?
I used :
im_orig_tosave = Image.fromarray(np.uint8(padding_data))
enhancer = ImageEnhance.Brightness(im_orig_tosave)
enhanced_im = enhancer.enhance(0.6)
enhanced_im = np.minimum(enhanced_im, 255.)
padding_data = enhanced_im
# pil image to tensor!
I need to convert it back to a tensor.
so I asked if I can directly modify the tensor in order to change the brightness