flow_transforms.py 文件源码

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

项目:depth-semantic-fully-conv 作者: iapatil 项目源码 文件源码
def __call__(self, inputs,target_depth,target_label):
        if random.random() < 0.5:
            inputs = np.flip(inputs,axis=0).copy()
            target_depth = np.flip(target_depth,axis=0).copy()
            target_label = np.flip(target_label,axis=0).copy()
        return inputs,target_depth,target_label
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号