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

Enhancing Model Accuracy through Advanced Transfer Learning Technique #12

Closed
wants to merge 2 commits into from

Conversation

DarshAgrawal14
Copy link
Contributor

Fixed Issue : #8

  • The current implementation utilizes EfficientNet for terrain classification.
  • Data Agumentation includes resizing, horizontal flipping, color jitter, and random rotations.
  • I have loaded a pre-trained EfficientNet B0 model and modified the classifier layer to match the number of output classes (5 for different terrain types).
  • I noticed at high learning rates the accuracy was highly volatile so it was lowered
  • I defined the loss function (CrossEntropyLoss) and optimizer (Adam) with a lower learning rate for fine-tuning.
  • Learning rate scheduling : ReduceLROnPlateau
  • Included code to load model and test it using a example image
  • The hyper - parameter tuning was performed using gpu , but if not available code will automatically use cpu
  • added tranfer learning notebooks , model , Readme.md ,improvement.md in transfer_learning directory

Darsh Agrawal , GSSoC 2024 extd contributor

-The current implementation utilizes EfficientNet for terrain classification.
- Data Agumentation  includes resizing, horizontal flipping, color jitter, and random rotations.
- I have loaded a pre-trained EfficientNet B0 model and modified the classifier layer to match the number of output classes (5 for different terrain types).
-  I noticed at high learning rates the accuracy was highly volatile so it was lowered
- I defined the loss function (CrossEntropyLoss) and optimizer (Adam) with a lower learning rate for fine-tuning.
- Learning rate scheduling : ReduceLROnPlateau
- Included code to load model and test it using a example image
- The hyper - parameter tuning was performed using gpu , but if not available code will automatically use cpu
-The current implementation utilizes EfficientNet for terrain classification.

Data Agumentation includes resizing, horizontal flipping, color jitter, and random rotations.
I have loaded a pre-trained EfficientNet B0 model and modified the classifier layer to match the number of output classes (5 for different terrain types).
I noticed at high learning rates the accuracy was highly volatile so it was lowered
I defined the loss function (CrossEntropyLoss) and optimizer (Adam) with a lower learning rate for fine-tuning.
Learning rate scheduling : ReduceLROnPlateau
Included code to load model and test it using a example image
The hyper - parameter tuning was performed using gpu , but if not available code will automatically use cpu
- added readme.md
-  added improvement.md
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.

1 participant