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
flow_transforms.py 文件源码
python
阅读 41
收藏 0
点赞 0
评论 0
评论列表
文章目录