Updated 5 years ago
import jovian
jovian.commit()
[jovian] Saving notebook..
import jovian
from fastai import *
from fastai.vision import *
path = Path('dsnetxfastai/')
data = (ImageList.from_folder()#.split_none()
.split_by_rand_pct(0.1, seed=33)
.label_from_folder()
.transform(get_transforms(), size=64)
.databunch(bs=256)
.normalize(imagenet_stats))
sfs = cnn_learner(data,
models.resnet18,
metrics=[accuracy, error_rate])