-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add polyp segmentation #169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job, @Kaushal-11! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.
We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines
Modify it for different activation functions and optimizers |
Other activation functions and optimizers did not yield as good results in terms of segmentation accuracy and training efficiency. because there is main reason of using in such a complex model, and Adam optimizer is good for it because of it dynamically adjusts the learning rate during training So, this combination is giving me good accuracy for this segmentation |
Can you try K-Fold method, tune early stopping epochs, Selu, Mish activation, Lion optimizer Do an experimentation of these with several models. Then come to a conclusion. |
I implemented my model with selu activation, Lion optimizer with K-Fold validation and EarlyStopping callbacks Here comparision between results,
Result of (ReLU + Adam)Result of (SeLU + Lion) |
I performed all possible combination and played with hyperparameter |
I don't agree. I have seen Mish and Selu completely outperform Relu sometimes. Anyways, have you tried some other strategies of augmentation or any different model? |
i inserted metrics results and final prediction image which derived using the SeLU. |
Yes, I have tried Data Augmentation in my local, |
DeepLabv3+ model's results are not good as Unet |
Hey, @SrijanShovit can you answer my message |
@SrijanShovit I understand the above PR doesnt come along with your expectation, let the contributor know what to go with it. |
This issue has been automatically closed because it has been inactive for more than 7 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you! |
@SrijanShovit why there is no reply . we can help the contributor if you are not planning to merge |
Resizing images to a fixed size (256x256)
Normalizing pixel values (0-255 to 0-1 range)
Using metrics like accuracy, recall, and precision
Logging training progress and metrics to a CSV file
Applying a threshold (0.5) to convert probabilities to binary masks
Calculating evaluation metrics like Accuracy, F1 Score, Jaccard Index (IoU), Recall, Precision
Visualizing results : [ Original image | Ground truth mask | Predicted mask]