@@ -49,6 +49,7 @@ class Generator(keras.utils.Sequence):
shuffle_groups=True,
image_min_side=800,
image_max_side=1333,
no_resize=False,
transform_parameters=None,
compute_anchor_targets=anchor_targets_bbox,
compute_shapes=guess_shapes,
...
...
@@ -64,6 +65,7 @@ class Generator(keras.utils.Sequence):
shuffle_groups : If True, shuffles the groups each epoch.
image_min_side : After resizing the minimum side of an image is equal to image_min_side.
image_max_side : If after resizing the maximum side is larger than image_max_side, scales down further so that the max side is equal to image_max_side.
no_resize : If True, no image/annotation resizing is performed.
transform_parameters : The transform parameters used for data augmentation.
compute_anchor_targets : Function handler for computing the targets of anchors for an image and its annotations.
compute_shapes : Function handler for computing the shapes of the pyramid for a given input.
...
...
@@ -76,6 +78,7 @@ class Generator(keras.utils.Sequence):