if self.action_param.rotation_angle:
augmentation_layers.append(RandomRotationLayer(
min_angle=self.action_param.rotation_angle[0],
max_angle=self.action_param.rotation_angle[1]))
if self.reader:
self.reader.add_preprocessing_layers(
After Change
min_percentage=self.action_param.scaling_percentage[0],
max_percentage=self.action_param.scaling_percentage[1]))
if self.action_param.rotation_angle:
augmentation_layers.append(RandomRotationLayer())
augmentation_layers[-1].init_uniform_angle(self.action_param.rotation_angle)
if self.reader: