FDA
Fourier Domain Adaptation from https://github.com/YanchaoYang/FDA
icevision_FDA( reference_images, beta_limit = 0.1, read_fn = icevision_read_rgb_image(), always_apply = FALSE, p = 0.5 )
reference_images |
reference_images |
beta_limit |
beta_limit |
read_fn |
read_fn |
always_apply |
always_apply |
p |
p |
Simple "style transfer".
None
//github.com/YanchaoYang/FDA: Simple "style transfer".
image
uint8, float32
https://github.com/YanchaoYang/FDA https://openaccess.thecvf.com/content_CVPR_2020/papers/Yang_FDA_Fourier_Domain_Adaptation_for_Semantic_Segmentation_CVPR_2020_paper.pdf
>>> import numpy as np >>> import albumentations as A >>> image = np.random.randint(0, 256, [100, 100, 3], dtype=np.uint8) >>> target_image = np.random.randint(0, 256, [100, 100, 3], dtype=np.uint8) >>> aug = A.Compose([A.FDA([target_image], p=1, read_fn=lambda x: x)]) >>> result = aug(image=image)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.