I managed to download and there is ‘train’ and ‘valid’ directory and of course the there is a labels.csv to label the images.
I copied this from somewhere and I’m not sure if I did this correctly. I think the datablock is pretty confusing how do learn it intuitively?
Also how do I input the label? Thanks
data = ImageDataBunch.from_folder(path, ds_tfms=tfms, size=64);data
ImageDataBunch;
Train: LabelList (12396 items)
x: ImageList
Image (3, 64, 64),Image (3, 64, 64),Image (3, 64, 64),Image (3, 64, 64),Image (3, 64, 64)
y: CategoryList
7,7,7,7,7
Path: /root/.fastai/data/mnist_sample;
Valid: LabelList (2038 items)
x: ImageList
Image (3, 64, 64),Image (3, 64, 64),Image (3, 64, 64),Image (3, 64, 64),Image (3, 64, 64)
y: CategoryList
7,7,7,7,7
Path: /root/.fastai/data/mnist_sample;