Hi all. I’m trying to run my own version of the first exercise and am running in to the following problem.
I can input my data in an ImageDataLoader but when I run the cnn_learner on that data the losses don;t change and my training takes 1 sec. Any thoughts? I’ve included the code below to help with diagnosing the problem.
path = ‘…/input/parrotfish/parrotfish’
fish = ImageDataLoaders.from_folder(path, valid_pct=0.2, seed=3, item_tfms = Resize(224))
(this returns lengths of 13,54 so the images are recognized).
fish.valid.show_batch(max_n=3, nrows=1) - just checking to see if images are showing up. So far so good.
learn = cnn_learner(fish, resnet34, metrics=error_rate)
And this happens:
Sorry for the formatting. Any thoughts out there? Thanks.