MCPcopy Create free account
hub / github.com/UCSC-VLAA/OpenVision / policy_vtest

Function policy_vtest

src/transforms/autoaugment.py:88–96  ·  view source on GitHub ↗

Autoaugment test policy for debugging.

()

Source from the content-addressed store, hash-verified

86
87
88def policy_vtest():
89 """Autoaugment test policy for debugging."""
90 # Each tuple is an augmentation operation of the form
91 # (operation, probability, magnitude). Each element in policy is a
92 # sub-policy that will be applied sequentially on the image.
93 policy = [
94 [('TranslateX', 1.0, 4), ('Equalize', 1.0, 10)],
95 ]
96 return policy
97
98
99def blend(image1, image2, factor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected