image_output_1.png
from fastai.vision import *
data = ImageList.from_folder('/kaggle/input/turkish-lira-banknote-dataset/').random_split_by_pct().label_from_folder().transform(get_transforms(), size=122).databunch()

learner = cnn_learner(data, models.resnet18, metrics=accuracy)
learner.fit(5)

interp = ClassificationInterpretation.from_learner(learner)
interp.plot_top_losses(9, figsize=(10, 10))