Skip to content

Augmentation policies, augmentation rate #5

@huangchieh

Description

@huangchieh

I need to add an augmentation rate, which indicates the probability to do the style transfer for a give input.

p1 = 1
p2 = 0.5

x = random.random()
y = random.random()

if x <= p1:
do allow augmentation for this samples
if y < p2:
do augmentation for this slice of image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions