def _append_brightness_adjusts(self, path, angle, flip, brightness_adjusts = [1.0]):
"""
Specifies what the needed brightness adjusts for a specific image are and appends them to X/y_train
Parameters
----------
path : string
The path to the image
angle : float
Steering angle
flip : boolean
Should we flip the image when reading the list
brightness_adjusts: list
List of floats specifying what brightness adjusts to add
"""
for brightness in brightness_adjusts:
self._append_to_list(path, angle, flip, brightness)
评论列表
文章目录