A Validation Strategy for Deep Learning Models: Evaluating and Enhancing Robustness