RandomGaussianBlur
class
keras.layers.RandomGaussianBlur(
factor=1.0,
kernel_size=3,
sigma=1.0,
value_range=(0, 255),
data_format=None,
seed=None,
**kwargs
)
Applies random Gaussian blur to images for data augmentation.
This layer performs a Gaussian blur operation on input images with a randomly selected degree of blurring, controlled by the factor
and sigma
arguments.
Arguments
factor
controls the extent to which the image hue is impacted. factor=0.0
makes this layer perform a no-op operation, while a value of 1.0
performs the most aggressive blurring available. If a tuple is used, a factor
is sampled between the two values for every image augmented. If a single float is used, a value between 0.0
and the passed float is sampled. Default is 1.0.[low, high]
. This is typically either [0, 1]
or [0, 255]
depending on how your preprocessing pipeline is set up.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4