Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

icevision_FDA

FDA


Description

Fourier Domain Adaptation from https://github.com/YanchaoYang/FDA

Usage

icevision_FDA(
  reference_images,
  beta_limit = 0.1,
  read_fn = icevision_read_rgb_image(),
  always_apply = FALSE,
  p = 0.5
)

Arguments

reference_images

reference_images

beta_limit

beta_limit

read_fn

read_fn

always_apply

always_apply

p

p

Details

Simple "style transfer".

Value

None

Fourier Domain Adaptation from https

//github.com/YanchaoYang/FDA: Simple "style transfer".

Targets

image

Image types

uint8, float32

Reference

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

Example

>>> 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)


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.