Data Science, Cell Biology, Image Classification, Towards Data Science.
ds_tfms=get_transforms(do_flip=True,flip_vert=True,max_rotate=90,max_lighting=0.3),size=224,bs=64,num_workers=0).normalize(imagenet_stats) learn=create_cnn(data, models.resnet34, metrics=accuracy, model_dir="/tmp/model/") learn.fit_one_cycle(10)