Error while preparing data

i am working on a dataset from kaggle to identify if a person has covid-19 or not using x-ray images.

data looks like this


now I don’t know how to create a databunch with this. can anyone help me with it?

here is what I did

but it is not working

1 Like

have a look at this kaggle notebook: — Pneumonia Detection: fastai 2019 update —

they are using something like this

data = ImageDataBunch.from_folder(path,
size=256, bs=bs,

should work

I’m going to try out as well :slight_smile: