Exploring Secure Machine Learning Through Payload Injection and FGSM Attacks on ResNet-50