fastai数据增强

get_transforms(
    do_flip:bool=True, # 是否进行水平翻转
    flip_vert:bool=False, #是否进行垂直翻转    
    max_rotate:float=10.0, max_zoom:float=1.1, max_lighting:float=0.2, 
    max_warp:float=0.2, p_affine:float=0.75, p_lighting:float=0.75, 
    xtra_tfms:Optional[Collection[Transform]]=None) → Collection[Transform]

除去去默认的参数

tfms = get_transforms(flip_vert=True, max_lighting=0.1, max_zoom=1.05, max_warp=0.)

你可能感兴趣的:(fastai)