Commit 4cbe79bc authored by Vishnu Banna's avatar Vishnu Banna
Browse files

var names

parent 142444e0
...@@ -19,25 +19,16 @@ class Parser(parser.Parser): ...@@ -19,25 +19,16 @@ class Parser(parser.Parser):
scale=[128, 448], scale=[128, 448],
dtype='float32'): dtype='float32'):
"""Initializes parameters for parsing annotations in the dataset. """Initializes parameters for parsing annotations in the dataset.
Args: Args:
output_size: `Tensor` or `list` for [height, width] of output image. The output_size: `Tensor` or `list` for [height, width] of output image. The
output_size should be divided by the largest feature stride 2^max_level. output_size should be divided by the largest feature stride 2^max_level.
num_classes: `float`, number of classes. num_classes: `float`, number of classes.
aug_rand_saturation: `bool`, if True, augment training with random aug_policy: An optional Augmentation object to choose from AutoAugment and
saturation. RandAugment.
aug_rand_brightness: `bool`, if True, augment training with random scale: A `List[int]`, minimum and maximum image shape range.
brightness. dtype: `str`, cast output image in dtype. It can be 'float32', 'float16',
aug_rand_zoom: `bool`, if True, augment training with random or 'bfloat16'.
zoom.
aug_rand_rotate: `bool`, if True, augment training with random
rotate.
aug_rand_hue: `bool`, if True, augment training with random
hue.
aug_rand_aspect: `bool`, if True, augment training with random
aspect.
scale: 'list', `Tensor` or `list` for [low, high] of the bounds of the
random scale.
seed: an `int` for the seed used by tf.random
""" """
self._output_size = output_size self._output_size = output_size
if aug_policy: if aug_policy:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment