Closed bhanushri12 closed 3 weeks ago
Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊
Resolved Issue178
Description of Changes:
Augmentation Techniques for Overfitting Prevention:
albumentations
library to introduce data augmentation during training.GaussianNoise
for introducing random blur to images. This helps the model generalize better to unseen data and reduces overfitting. Blurry images can contain slightly different information than crisp ones, forcing the model to learn more robust features.adjust_contrast
to randomly modify image contrast during training. This exposes the model to a wider variety of lighting conditions, further aiding in overfitting prevention. By seeing images with varying brightness levels, the model learns to focus on the essential features rather than just the intensity.Loss Convergence Graph:
Overall, these changes aim to enhance the model's ability to generalize to unseen data and potentially reduce overfitting by introducing data augmentation and providing a tool for monitoring training progress.
Additional Notes:
GaussianNoise
(variance) andadjust_contrast
(factor) to explore different augmentation strategies.