45 samples seem to be quite low to train such a big model.
Note that resnet50 should have ~25 million parameters, if I’m not mistaken.
I doubt that you will be able to train this model successfully with 6 samples (45 with augmentation).
You would also have to create a validation dataset (and even better, another test dataset), which would further reduce the number of training samples.