prepare_data.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:carnd-behavioral-cloning 作者: nikidimi 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号