Learn practical skills, build real-world projects, and advance your career
from fastai.vision import *
from fastai.metrics import error_rate
bs = 64
sz = 224
path = 'data/mixed'
ds_tfms=get_transforms(do_flip=False, max_rotate=0.,max_zoom=1, max_lighting=0, max_warp=0, p_affine=0, p_lighting=0)
data = ImageDataBunch.from_csv(path, 'train_images', csv_labels='train_images.csv', ds_tfms=ds_tfms, size=sz,bs=bs)