How to get add aditional transform to get_transform in fastai?
问题 I would like to add aditional augmenmentation this way: additional_aug=[zoom_crop(scale=(0.75,1.25), do_rand=False), brightness(), contrast() ] tfms = get_transforms(do_flip=True,flip_vert=True,max_lighting=0.2, xtra_tfms=additional_aug) data = (ImageList.from_df(df=df,path='./',cols='path') .split_by_rand_pct(0.2) .label_from_df(cols='diagnosis',label_cls=FloatList) .transform(tfms,size=sz,resize_method=ResizeMethod.SQUISH,padding_mode='zeros') .databunch(bs=bs,num_workers=4) .normalize