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
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
have a look at this kaggle notebook: — Pneumonia Detection: fastai 2019 update —
they are using something like this
data = ImageDataBunch.from_folder(path,
valid=‘val’,
valid_pct=0.2,
size=256, bs=bs,
ds_tfms=tfms).normalize(imagenet_stats)
should work
I’m going to try out as well