I have a folder structure like this:
- notebook.ipynb - data/ - normal/ - A/ - B/ - C/ ...
Dataset is an image dataset with alphabet as labels (A,B,C,…) and I’m trying to create an image classification of letters (sign language to be exact). I’ve set up the Datablock using these
signlanguage = DataBlock( blocks = (ImageBlock, CategoryBlock), get_items = get_image_files, splitter=RandomSplitter(valid_pct=0.2, seed=42), get_y = parent_label, item_tfms=Resize(128))
So when I call signlanguage.dataloaders(“data/normal”), I get the “Could not do one pass in your dataloader, there is an something wrong with it” error. Data block seems to be set up correctly so I’m not sure what’s going on here. Can anyone help troubleshoot?