Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented data augmentation and optimized the training loop #13

Closed
wants to merge 1 commit into from

Conversation

twinkle485
Copy link
Contributor

Description

This pull request implements data augmentation process in dataset.py and optimizes the training loop in train.py to improve model performance and training stability.

Changes Include:

  • Data Augmentation:

    • Added various transformations such as random resizing, horizontal flipping, rotation, color jitter, Gaussian blur, and random erasing to enrich the dataset and enhance model generalization.
  • Training Loop Optimization:

    • Implemented gradient clipping, learning rate scheduling (Cosine Annealing), and an early stopping mechanism to enhance training efficiency and prevent overfitting on smaller datasets.

Related Issue

Additional Information

@twinkle485 twinkle485 closed this Oct 18, 2024
@twinkle485 twinkle485 deleted the new branch October 18, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Data Augmentation
2 participants