-
Notifications
You must be signed in to change notification settings - Fork 15
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 Terrain-v3 as Terrain-v4 for Performance Optimization #20
Conversation
Well I've just reviewed V4 and it seems excellent. Could you explain the key difference other than using scheduler while training the model? I was implementing a similar approach but it reached a point, that it was not overfitting at all, is there any other change you've implemented? |
V4 improves on V3 by adding Batch Normalization, more aggressive data augmentation, optimized steps per epoch, and validation steps. These changes make the model more robust, better regularized, and less prone to overfitting, leading to improved generalization. |
The change in dataset is a major one, can you try using the dataset i have provided and modify the dataset you have along with using images from the provided dataset. Having one less terrain makes a huge change, and we are only using 5, so I want you to not reduce it further. you can just use the dataset i've provided and add your images and train the model with one more filter in the output. Please do that. |
https://drive.google.com/drive/folders/1hbL1m39TF8ABe0oCj5XYDbHXY-gPIjcQ?usp=drive_link the dataset with around 10k images of 5 classes |
|
…Copy there is change in epoch per step
Did you get it now? How good was your accuracy now after adding one class and that dataset? |
sgd with momentum is essentially adam isn't it? |
RMSprop with 3 layer CNN gave pretty good results, why do you think so it gave suxh good results? |
Well please write a separate readme along with this commit that has any of your unique findings you have discovered while experimenting with these architectures. The findings would help people learn more about the optimizers as well as how the architecture is affecting the accuracy. |
RMSprop worked well with the 3-layer CNN because it dynamically adjusts the learning rate, allowing the model to learn efficiently without getting stuck in local minima. I’ve been experimenting with different optimizers based on my experience to see which one delivers the best performance, as finding the right optimizer can make a big difference in how well the model trains.. |
The same is in Adam and to say Adam is momentum + rmsprop here as well. Adam has learning rate optimiser built in, has faster convergence due to momentum. There are few versions of Adam that outperforms it and all verz Adam is known for its efficiency vs computation time |
for v1 to v7
Thanks, @Akasxh! I really appreciate your insights. I’m looking forward to diving into those alternatives and seeing how they perform. It’s an exciting journey for me as I explore the impact of different optimizers on model training. I’m eager to learn more and see what I can discover! |
This pull request enhances the terrain recognition model . It implements a convolutional neural network (CNN) architecture designed for improved accuracy and efficiency in classifying terrain images.
### Key Changes
Model Architecture:
Data Augmentation:
Training Process:
Model Evaluation:
Model Saving:
After training, the model is saved for future use, allowing for easy loading and inference without retraining.
Organize the Dataset
Data Main/
├── train/
├── test/
issue #19