Hi, I had the same problem, it came out because I was only testing a few images, the batch size is by default bs = 64. If you change that value for a lower one, it will work.
dls = bears.dataloaders(path,bs=5)
dls.show_batch(nrows=1, ncols=3)
Hi, I had the same problem, it came out because I was only testing a few images, the batch size is by default bs = 64. If you change that value for a lower one, it will work.
dls = bears.dataloaders(path,bs=5)
dls.show_batch(nrows=1, ncols=3)