Image Classifier learn.predict(img)

The reasoning is the new transform-based API fastai2 has. Every transform method needs a decode for you to get back everything in a sensible way, and a transform is not just limited to augmentation! :slight_smile: I’d begin by looking into what encodes and decodes are doing

2 Likes